mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-07 21:31:37 +00:00
btrfs-progs: check: remove unused argument from maybe_repair_root_item
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
61c39c5fae
commit
134f8331b2
@ -12321,8 +12321,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int maybe_repair_root_item(struct btrfs_fs_info *info,
|
||||
struct btrfs_path *path,
|
||||
static int maybe_repair_root_item(struct btrfs_path *path,
|
||||
const struct btrfs_key *root_key,
|
||||
const int read_only_mode)
|
||||
{
|
||||
@ -12477,8 +12476,7 @@ again:
|
||||
if (found_key.objectid == BTRFS_TREE_RELOC_OBJECTID)
|
||||
goto next;
|
||||
|
||||
ret = maybe_repair_root_item(info, &path, &found_key,
|
||||
trans ? 0 : 1);
|
||||
ret = maybe_repair_root_item(&path, &found_key, trans ? 0 : 1);
|
||||
if (ret < 0)
|
||||
goto out;
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user