mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-11 03:31: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
|
* Returns 0 No errors found
|
||||||
*/
|
*/
|
||||||
static int process_one_leaf(struct btrfs_root *root, struct btrfs_path *path,
|
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 extent_buffer *cur = path->nodes[0];
|
||||||
struct btrfs_key key;
|
struct btrfs_key key;
|
||||||
@ -4427,8 +4427,7 @@ static int walk_down_tree(struct btrfs_root *root, struct btrfs_path *path,
|
|||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
if (!check_all)
|
if (!check_all)
|
||||||
ret = process_one_leaf(root, path, nrefs,
|
ret = process_one_leaf(root, path, nrefs, level);
|
||||||
level, ext_ref);
|
|
||||||
else
|
else
|
||||||
ret = check_leaf_items(root, path,
|
ret = check_leaf_items(root, path,
|
||||||
nrefs, account_file_data);
|
nrefs, account_file_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user