btrfs: call functions that overwrite their root parameter with fs_info
authorJeff Mahoney <jeffm@suse.com>
Tue, 21 Jun 2016 14:40:19 +0000 (10:40 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Dec 2016 15:06:57 +0000 (16:06 +0100)
commit5b4aacefb8fbfc996e68b9b083d30f8bc0972449
treecd4f1669a5bf9f8f2896c27f4b0d9d51e8a68e43
parent515bdc479097ec9d5f389202842345af3162f71c
btrfs: call functions that overwrite their root parameter with fs_info

There are 11 functions that accept a root parameter and immediately
overwrite it.  We can pass those an fs_info pointer instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/file-item.c
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.h
fs/btrfs/transaction.c
fs/btrfs/tree-log.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h