From cd6250108631e2e9e5c3e2c0dbcbf4f87a7ce140 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Tue, 27 Mar 2018 10:19:27 +0300 Subject: 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 Reviewed-by: Su Yue Signed-off-by: David Sterba --- check/mode-lowmem.c | 4 ++-- 1 file 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; } -- cgit v1.2.3