]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7196307dcefc674b6047f297cf545ff3da782f0c
tree440189fb0ea982881047b501ff1fbac57e1df8f6
parent4c9d7e43bf9c887aeb2cbf7de2056d8a60ee276c
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