mirror of
https://github.com/kdave/btrfs-progs
synced 2025-05-07 18:37:56 +00:00
btrfs-progs: remove unused argument from block_group_free_all_extent
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
75041ac126
commit
11b81f475f
@ -1094,8 +1094,7 @@ err:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int block_group_free_all_extent(struct btrfs_trans_handle *trans,
|
static int block_group_free_all_extent(struct btrfs_root *root,
|
||||||
struct btrfs_root *root,
|
|
||||||
struct block_group_record *bg)
|
struct block_group_record *bg)
|
||||||
{
|
{
|
||||||
struct btrfs_block_group_cache *cache;
|
struct btrfs_block_group_cache *cache;
|
||||||
@ -1135,7 +1134,7 @@ static int remove_chunk_extent_item(struct btrfs_trans_handle *trans,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
ret = block_group_free_all_extent(trans, root, chunk->bg_rec);
|
ret = block_group_free_all_extent(root, chunk->bg_rec);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user