forked from Mirrors/btrfs-progs
btrfs-progs: check: Remove unused root argument from btrfs_extent_post_op
This is no longer used by the callees of that function so remove it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>master
parent
a93d51ede7
commit
12e2280d7b
|
@ -8626,7 +8626,7 @@ again:
|
|||
fprintf(stderr, "Error adding block group\n");
|
||||
return ret;
|
||||
}
|
||||
btrfs_extent_post_op(trans, fs_info->extent_root);
|
||||
btrfs_extent_post_op(trans);
|
||||
}
|
||||
|
||||
ret = reset_balance(trans, fs_info);
|
||||
|
|
3
ctree.h
3
ctree.h
|
@ -2504,8 +2504,7 @@ int btrfs_fix_block_accounting(struct btrfs_trans_handle *trans);
|
|||
void btrfs_pin_extent(struct btrfs_fs_info *fs_info, u64 bytenr, u64 num_bytes);
|
||||
void btrfs_unpin_extent(struct btrfs_fs_info *fs_info,
|
||||
u64 bytenr, u64 num_bytes);
|
||||
int btrfs_extent_post_op(struct btrfs_trans_handle *trans,
|
||||
struct btrfs_root *root);
|
||||
int btrfs_extent_post_op(struct btrfs_trans_handle *trans);
|
||||
struct btrfs_block_group_cache *btrfs_lookup_block_group(struct
|
||||
btrfs_fs_info *info,
|
||||
u64 bytenr);
|
||||
|
|
|
@ -1426,8 +1426,7 @@ out:
|
|||
return err;
|
||||
}
|
||||
|
||||
int btrfs_extent_post_op(struct btrfs_trans_handle *trans,
|
||||
struct btrfs_root *root)
|
||||
int btrfs_extent_post_op(struct btrfs_trans_handle *trans)
|
||||
{
|
||||
finish_current_insert(trans);
|
||||
del_pending_extents(trans);
|
||||
|
@ -4012,7 +4011,7 @@ static int __btrfs_record_file_extent(struct btrfs_trans_handle *trans,
|
|||
} else if (ret != -EEXIST) {
|
||||
goto fail;
|
||||
}
|
||||
btrfs_extent_post_op(trans, extent_root);
|
||||
btrfs_extent_post_op(trans);
|
||||
extent_bytenr = disk_bytenr;
|
||||
extent_num_bytes = num_bytes;
|
||||
extent_offset = 0;
|
||||
|
|
Loading…
Reference in New Issue