btrfs-progs: Remove unused function arg in delete_extent_records

new_len is not used in delete_extent_records().

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Goldwyn Rodrigues 2017-02-03 10:15:32 -06:00 committed by David Sterba
parent 01bba62728
commit 2db52a6a48
1 changed files with 2 additions and 2 deletions

View File

@ -7968,7 +7968,7 @@ out:
static int delete_extent_records(struct btrfs_trans_handle *trans, static int delete_extent_records(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct btrfs_root *root,
struct btrfs_path *path, struct btrfs_path *path,
u64 bytenr, u64 new_len) u64 bytenr)
{ {
struct btrfs_key key; struct btrfs_key key;
struct btrfs_key found_key; struct btrfs_key found_key;
@ -8974,7 +8974,7 @@ static int fixup_extent_refs(struct btrfs_fs_info *info,
/* step two, delete all the existing records */ /* step two, delete all the existing records */
ret = delete_extent_records(trans, info->extent_root, &path, ret = delete_extent_records(trans, info->extent_root, &path,
rec->start, rec->max_size); rec->start);
if (ret < 0) if (ret < 0)
goto out; goto out;