diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-27 10:19:30 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-06-07 16:37:34 +0200 |
commit | 03b6929079c79502b436bdf888edf96afccba993 (patch) | |
tree | c86acd30ebc919b3aadb59b526d1231b5cea3cc0 /check/mode-lowmem.c | |
parent | 511cd09d27842cbd91fedd18f243d929c2c052fc (diff) |
btrfs-progs: check: Drop ext_ref arument from check_fs_root
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c index 1c50b3e9..0403ee77 100644 --- a/check/mode-lowmem.c +++ b/check/mode-lowmem.c @@ -4736,12 +4736,11 @@ out: * Iterate all items in the tree and call check_inode_item() to check. * * @root: the root of the tree to be checked. - * @ext_ref: the EXTENDED_IREF feature * * Return 0 if no error found. * Return <0 for error. */ -static int check_fs_root(struct btrfs_root *root, unsigned int ext_ref) +static int check_fs_root(struct btrfs_root *root) { reset_cached_block_groups(root->fs_info); return check_btrfs_root(root, 0); @@ -4897,7 +4896,7 @@ int check_fs_roots_lowmem(struct btrfs_fs_info *fs_info) goto next; } - ret = check_fs_root(cur_root, ext_ref); + ret = check_fs_root(cur_root); err |= ret; if (key.objectid == BTRFS_TREE_RELOC_OBJECTID) |