]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: create helper function __check_raid_min_devices()
authorAnand Jain <anand.jain@oracle.com>
Sat, 13 Feb 2016 02:01:33 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commit6dbf648cec6ca0c643c542d16169d4438c9a01d5
tree6e153fa78b7d53b7425dd15152663dd8e5d1fb73
parent00d65b7e7b0613dce59d1932ff3cf307d49bc99f
btrfs: create helper function __check_raid_min_devices()

move a section of btrfs_rm_device() code to check for min number of the
devices into the function __check_raid_min_devices()

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