summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-27 10:19:27 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:34 +0200
commitcd6250108631e2e9e5c3e2c0dbcbf4f87a7ce140 (patch)
treecaa1b788d79f42c4ac3b86cd3e213d62c50dcafd /check
parent1e154d9039195268fb034daba573327521ad8fe7 (diff)
btrfs-progs: check: Remove ext_ref param from check_fs_first_inode
It's no longer use and can be dropped. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c
index 464b505b..f683ff34 100644
--- a/check/mode-lowmem.c
+++ b/check/mode-lowmem.c
@@ -4594,7 +4594,7 @@ out:
* returns >0 means error
* returns <0 means fatal error
*/
-static int check_fs_first_inode(struct btrfs_root *root, unsigned int ext_ref)
+static int check_fs_first_inode(struct btrfs_root *root)
{
struct btrfs_path path;
struct btrfs_key key;
@@ -4685,7 +4685,7 @@ static int check_btrfs_root(struct btrfs_root *root, unsigned int ext_ref,
* the first inode item in the leaf, if inode item (256) is
* missing we will skip it forever.
*/
- ret = check_fs_first_inode(root, ext_ref);
+ ret = check_fs_first_inode(root);
if (ret < 0)
return FATAL_ERROR;
}