diff options
author | Filipe Manana <fdmanana@suse.com> | 2021-07-22 15:58:10 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:01 +0200 |
commit | c7bcbb2120cb74ce8757e310e5ceea1f3a139597 (patch) | |
tree | d2e5336bd3db5559bc0a40d2d76504382fb9ff52 /fs/btrfs/backref.h | |
parent | 2ac691d8b3b1dd300a48b1763fa3a1434863070b (diff) | |
download | linux-c7bcbb2120cb74ce8757e310e5ceea1f3a139597.tar.gz linux-c7bcbb2120cb74ce8757e310e5ceea1f3a139597.tar.bz2 linux-c7bcbb2120cb74ce8757e310e5ceea1f3a139597.zip |
btrfs: remove ignore_offset argument from btrfs_find_all_roots()
Currently all the callers of btrfs_find_all_roots() pass a value of false
for its ignore_offset argument. This makes the argument pointless and we
can remove it and make btrfs_find_all_roots() always pass false as the
ignore_offset argument for btrfs_find_all_roots_safe(). So just do that.
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>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r-- | fs/btrfs/backref.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index ff5f07f9940b..ba454032dbe2 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h @@ -47,7 +47,7 @@ int btrfs_find_all_leafs(struct btrfs_trans_handle *trans, const u64 *extent_item_pos, bool ignore_offset); int btrfs_find_all_roots(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, - u64 time_seq, struct ulist **roots, bool ignore_offset, + u64 time_seq, struct ulist **roots, bool skip_commit_root_sem); char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, u32 name_len, unsigned long name_off, |