]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: use existing device constraints table btrfs_raid_array
authorDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 15:28:14 +0000 (16:28 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 26 Feb 2016 14:04:55 +0000 (15:04 +0100)
commit0b2cc6c5e221dfe0e74a61d28f0c2edefa536d78
tree298166d19374087b6c621a1df1f4ffc0aac84efa
parenta51338c7b9ddb11329133406a65360d0daad3285
btrfs: use existing device constraints table btrfs_raid_array

We should avoid duplicating the device constraints, let's use the
btrfs_raid_array in btrfs_check_raid_min_devices.

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