Commit fbe4801b authored by Nikolay Borisov's avatar Nikolay Borisov Committed by David Sterba

btrfs: Remove fs_info from lookup_extent_backref

This argument is unused. No functional changes.
Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Reviewed-by: default avatarQu Wenruo <wqu@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent bd1d53ef
...@@ -1858,7 +1858,6 @@ void setup_inline_extent_backref(struct btrfs_fs_info *fs_info, ...@@ -1858,7 +1858,6 @@ void setup_inline_extent_backref(struct btrfs_fs_info *fs_info,
} }
static int lookup_extent_backref(struct btrfs_trans_handle *trans, static int lookup_extent_backref(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info,
struct btrfs_path *path, struct btrfs_path *path,
struct btrfs_extent_inline_ref **ref_ret, struct btrfs_extent_inline_ref **ref_ret,
u64 bytenr, u64 num_bytes, u64 parent, u64 bytenr, u64 num_bytes, u64 parent,
...@@ -6878,9 +6877,8 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans, ...@@ -6878,9 +6877,8 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans,
if (is_data) if (is_data)
skinny_metadata = false; skinny_metadata = false;
ret = lookup_extent_backref(trans, info, path, &iref, ret = lookup_extent_backref(trans, path, &iref, bytenr, num_bytes,
bytenr, num_bytes, parent, parent, root_objectid, owner_objectid,
root_objectid, owner_objectid,
owner_offset); owner_offset);
if (ret == 0) { if (ret == 0) {
extent_slot = path->slots[0]; extent_slot = path->slots[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment