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>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commit418775a22b4c67bd15915e043c3a8f29816799bd
tree74f4ef9fc0ef76b2625a1fbdbc48cf2820a7fb14
parent621292bae6ae3b25cd3124b63603d01df4cccfb6
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