btrfs: pass fs_info to (more) routines that are only called with extent_root
authorJeff Mahoney <jeffm@suse.com>
Wed, 15 Feb 2017 21:28:27 +0000 (16:28 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:55 +0000 (12:03 +0100)
commit87bde3cdfc7848980fc89f1979d2b24879f478c9
tree440189fb0ea982881047b501ff1fbac57e1df8f6
parentfb235dc06fac9eaa4408ade9c8b20d45d63c89b7
btrfs: pass fs_info to (more) routines that are only called with extent_root

Outside of interactions with qgroups, the roots passed in extent-tree.c
are usually passed to ensure that we don't do refcounts on log trees or
to get the allocation profile for an allocation request.  Otherwise, it
operates on the extent root.  This patch converts some more routines in
extent-tree.c that are always called with the extent root to accept
an fs_info instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c