btrfs: Refactor parameter of BTRFS_MAX_DEVS() from root to fs_info
authorQu Wenruo <wqu@suse.com>
Tue, 30 Jan 2018 10:20:46 +0000 (18:20 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:28 +0000 (15:09 +0200)
commit062d4d1f4085c3135fc159fb7eac96c31b4f47f9
tree40b2679d97f9ee0936f7e51da218ca7dc262b68e
parentaf2679e4a7f68f5b99593f61e9cdb8b5b69b0bec
btrfs: Refactor parameter of BTRFS_MAX_DEVS() from root to fs_info

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