forked from Mirrors/btrfs-progs
btrfs-progs: remove unused argument from extent_data_ref_count
Signed-off-by: David Sterba <dsterba@suse.com>master
parent
6e1510e0fe
commit
54608c1a07
|
@ -857,8 +857,7 @@ static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static noinline u32 extent_data_ref_count(struct btrfs_root *root,
|
static noinline u32 extent_data_ref_count(struct btrfs_path *path,
|
||||||
struct btrfs_path *path,
|
|
||||||
struct btrfs_extent_inline_ref *iref)
|
struct btrfs_extent_inline_ref *iref)
|
||||||
{
|
{
|
||||||
struct btrfs_key key;
|
struct btrfs_key key;
|
||||||
|
@ -2366,7 +2365,7 @@ static int __free_extent(struct btrfs_trans_handle *trans,
|
||||||
|
|
||||||
if (found_extent) {
|
if (found_extent) {
|
||||||
BUG_ON(is_data && refs_to_drop !=
|
BUG_ON(is_data && refs_to_drop !=
|
||||||
extent_data_ref_count(root, path, iref));
|
extent_data_ref_count(path, iref));
|
||||||
if (iref) {
|
if (iref) {
|
||||||
BUG_ON(path->slots[0] != extent_slot);
|
BUG_ON(path->slots[0] != extent_slot);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue