diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-11-01 16:15:47 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:50 +0100 |
commit | a2c8d27e5ee810b7149b42b88ddf7298e5b8dfe0 (patch) | |
tree | 2ff3368660553c812289c5a7d5bde438ec4799cc /fs/buffer.c | |
parent | 6ce6ba534418132f4c727d5707fe2794c797299c (diff) | |
download | linux-a2c8d27e5ee810b7149b42b88ddf7298e5b8dfe0.tar.gz linux-a2c8d27e5ee810b7149b42b88ddf7298e5b8dfe0.tar.bz2 linux-a2c8d27e5ee810b7149b42b88ddf7298e5b8dfe0.zip |
btrfs: use a structure to pass arguments to backref walking functions
The public backref walking functions have quite a lot of arguments that
are passed down the call stack to find_parent_nodes(), the core function
of the backref walking code.
The next patches in series will need to add even arguments to these
functions that should be passed not only to find_parent_nodes(), but also
to other functions used by the later (directly or even lower in the call
stack).
So create a structure to hold all these arguments and state used by the
main backref walking function, find_parent_nodes(), and use it as the
argument for the public backref walking functions iterate_extent_inodes(),
btrfs_find_all_leafs() and btrfs_find_all_roots().
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions