]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: clean up and optimize __check_raid_min_device()
authorAnand Jain <anand.jain@oracle.com>
Sat, 13 Feb 2016 02:01:34 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 16:57:35 +0000 (17:57 +0100)
commit9459980ba74d725103cc877c20b7d8ca34999c39
treeb4d7badaac7dc6263f512fb3fe6e2049bce57573
parentd58e4f573486b42b4505c4d19d5163dc5a591caa
btrfs: clean up and optimize __check_raid_min_device()

__check_raid_min_device() which was pealed from btrfs_rm_device()
maintianed its original code to show the block move. This patch cleans up
__check_raid_min_device().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c