diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 15:48:52 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:33 +0200 |
commit | fbe4801b26c3ca4192e679f04c0cf0dda32a6cda (patch) | |
tree | 5a80be9bea238555ee43712b5160a933ca1908d0 /fs/btrfs/extent-tree.c | |
parent | bd1d53ef358d584a0aa9dbd304c807fcc5e3dd5f (diff) | |
download | lwn-fbe4801b26c3ca4192e679f04c0cf0dda32a6cda.tar.gz lwn-fbe4801b26c3ca4192e679f04c0cf0dda32a6cda.zip |
btrfs: Remove fs_info from lookup_extent_backref
This argument is unused. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 2fc879a0a2b7..19239ad3c6d1 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -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, - struct btrfs_fs_info *fs_info, struct btrfs_path *path, struct btrfs_extent_inline_ref **ref_ret, u64 bytenr, u64 num_bytes, u64 parent, @@ -6878,9 +6877,8 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans, if (is_data) skinny_metadata = false; - ret = lookup_extent_backref(trans, info, path, &iref, - bytenr, num_bytes, parent, - root_objectid, owner_objectid, + ret = lookup_extent_backref(trans, path, &iref, bytenr, num_bytes, + parent, root_objectid, owner_objectid, owner_offset); if (ret == 0) { extent_slot = path->slots[0]; |