summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-27 10:19:26 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:34 +0200
commit1e154d9039195268fb034daba573327521ad8fe7 (patch)
tree7f39514caa7c75b71954087ff8fd906d776216f7 /check
parent72cdfeaf62e59e910202bff6cdd866317a1354df (diff)
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>
Diffstat (limited to 'check')
-rw-r--r--check/mode-lowmem.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index a83b0d11..464b505b 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -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);