mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-28 00:52:17 +00:00
btrfs-progs: check: Drop unused ext_ref parameter from process_one_leaf
It's no longer used in the function so just 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>
This commit is contained in:
parent
72cdfeaf62
commit
1e154d9039
@ -2486,7 +2486,7 @@ out:
|
||||
* Returns 0 No errors found
|
||||
*/
|
||||
static int process_one_leaf(struct btrfs_root *root, struct btrfs_path *path,
|
||||
struct node_refs *nrefs, int *level, int ext_ref)
|
||||
struct node_refs *nrefs, int *level)
|
||||
{
|
||||
struct extent_buffer *cur = path->nodes[0];
|
||||
struct btrfs_key key;
|
||||
@ -4427,8 +4427,7 @@ static int walk_down_tree(struct btrfs_root *root, struct btrfs_path *path,
|
||||
|
||||
ret = 0;
|
||||
if (!check_all)
|
||||
ret = process_one_leaf(root, path, nrefs,
|
||||
level, ext_ref);
|
||||
ret = process_one_leaf(root, path, nrefs, level);
|
||||
else
|
||||
ret = check_leaf_items(root, path,
|
||||
nrefs, account_file_data);
|
||||
|
Loading…
Reference in New Issue
Block a user