btrfs: pass fs_info to functions that search for delayed ref heads
authorFilipe Manana <fdmanana@suse.com>
Mon, 21 Oct 2024 15:08:18 +0000 (16:08 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:20 +0000 (14:34 +0100)
commit765f82890299e67efae4c22a378869c1d3d4e4be
tree1ef7641c634497d587a88a2baccc110abf75ac44
parent58a4391810d4bc717d87fd446a0c3ad2cb7ea3cd
btrfs: pass fs_info to functions that search for delayed ref heads

One of the following patches in the series will need to access fs_info in
the function find_ref_head(), so pass a fs_info argument to it as well as
to the functions btrfs_select_ref_head() and btrfs_find_delayed_ref_head()
which call find_ref_head().

Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c