btrfs-progs: remove unused argument from free_chunk_item

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-02-09 17:42:02 +01:00
parent b53af22c24
commit 3b6d0d46b4
1 changed files with 2 additions and 2 deletions

View File

@ -3639,7 +3639,7 @@ out:
static int free_chunk_item(struct btrfs_trans_handle *trans, static int free_chunk_item(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info, struct btrfs_fs_info *fs_info,
u64 bytenr, u64 len) u64 bytenr)
{ {
struct btrfs_path *path; struct btrfs_path *path;
struct btrfs_key key; struct btrfs_key key;
@ -3816,7 +3816,7 @@ int btrfs_free_block_group(struct btrfs_trans_handle *trans,
btrfs_unpin_extent(fs_info, bytenr, len); btrfs_unpin_extent(fs_info, bytenr, len);
goto out; goto out;
} }
ret = free_chunk_item(trans, fs_info, bytenr, len); ret = free_chunk_item(trans, fs_info, bytenr);
if (ret < 0) { if (ret < 0) {
fprintf(stderr, fprintf(stderr,
"failed to free chunk for [%llu,%llu)\n", "failed to free chunk for [%llu,%llu)\n",