mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-19 19:26:51 +00:00
btrfs-progs: remove unused argument from extent_data_ref_count
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6e1510e0fe
commit
54608c1a07
@ -857,8 +857,7 @@ static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static noinline u32 extent_data_ref_count(struct btrfs_root *root,
|
||||
struct btrfs_path *path,
|
||||
static noinline u32 extent_data_ref_count(struct btrfs_path *path,
|
||||
struct btrfs_extent_inline_ref *iref)
|
||||
{
|
||||
struct btrfs_key key;
|
||||
@ -2366,7 +2365,7 @@ static int __free_extent(struct btrfs_trans_handle *trans,
|
||||
|
||||
if (found_extent) {
|
||||
BUG_ON(is_data && refs_to_drop !=
|
||||
extent_data_ref_count(root, path, iref));
|
||||
extent_data_ref_count(path, iref));
|
||||
if (iref) {
|
||||
BUG_ON(path->slots[0] != extent_slot);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user