btrfs: btrfs_test_opt and friends should take a btrfs_fs_info
authorJeff Mahoney <jeffm@suse.com>
Fri, 10 Jun 2016 01:38:35 +0000 (21:38 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:53:16 +0000 (13:53 +0200)
commit3cdde2240d4533ff71fbb8dc9c32d5d57d3cdeed
tree05a138f31bd51026ecb338cd8720bfbf5f863b25
parentbc074524e123ded281cde25ebc5661910f9679e3
btrfs: btrfs_test_opt and friends should take a btrfs_fs_info

btrfs_test_opt and friends only use the root pointer to access
the fs_info.  Let's pass the fs_info directly in preparation to
eliminate similar patterns all over btrfs.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
13 files changed:
fs/btrfs/ctree.h
fs/btrfs/dev-replace.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/super.c
fs/btrfs/transaction.c
fs/btrfs/tree-log.c
fs/btrfs/volumes.c