btrfs-progs: remove unused argument from setup_inline_extent_backref

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2017-02-09 17:42:02 +01:00
parent 54608c1a07
commit 9bdbe12644
1 changed files with 2 additions and 3 deletions

View File

@ -1163,8 +1163,7 @@ out:
return err; return err;
} }
static int setup_inline_extent_backref(struct btrfs_trans_handle *trans, static int setup_inline_extent_backref(struct btrfs_root *root,
struct btrfs_root *root,
struct btrfs_path *path, struct btrfs_path *path,
struct btrfs_extent_inline_ref *iref, struct btrfs_extent_inline_ref *iref,
u64 parent, u64 root_objectid, u64 parent, u64 root_objectid,
@ -1332,7 +1331,7 @@ static int insert_inline_extent_backref(struct btrfs_trans_handle *trans,
ret = update_inline_extent_backref(trans, root, path, iref, ret = update_inline_extent_backref(trans, root, path, iref,
refs_to_add); refs_to_add);
} else if (ret == -ENOENT) { } else if (ret == -ENOENT) {
ret = setup_inline_extent_backref(trans, root, path, iref, ret = setup_inline_extent_backref(root, path, iref,
parent, root_objectid, parent, root_objectid,
owner, offset, refs_to_add); owner, offset, refs_to_add);
} }