summaryrefslogtreecommitdiff
path: root/check/mode-lowmem.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-27 10:19:28 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:34 +0200
commitd01839e95a838f9f8ada86b638f7b19462dedf33 (patch)
tree846af3ec4fd70781b0a5363ed973da92f42d6b16 /check/mode-lowmem.c
parentcd6250108631e2e9e5c3e2c0dbcbf4f87a7ce140 (diff)
btrfs-progs: check: Remove ext_ref param from walk_down_tree
It's no longer used 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/mode-lowmem.c')
-rw-r--r--check/mode-lowmem.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index f683ff34..e9c1b239 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -4356,8 +4356,7 @@ out:
* Returns 0 No errors found
*/
static int walk_down_tree(struct btrfs_root *root, struct btrfs_path *path,
- int *level, struct node_refs *nrefs, int ext_ref,
- int check_all)
+ int *level, struct node_refs *nrefs, int check_all)
{
enum btrfs_tree_block_status status;
u64 bytenr;
@@ -4712,8 +4711,7 @@ static int check_btrfs_root(struct btrfs_root *root, unsigned int ext_ref,
}
while (1) {
- ret = walk_down_tree(root, &path, &level, &nrefs,
- ext_ref, check_all);
+ ret = walk_down_tree(root, &path, &level, &nrefs, check_all);
if (ret > 0)
err |= ret;