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>
This commit is contained in:
Nikolay Borisov 2018-03-27 10:19:27 +03:00 committed by David Sterba
parent 1e154d9039
commit cd62501086
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}