btrfs: get fs_info from eb in repair_eb_io_failure
We can read fs_info from extent buffer and can drop it from the parameters. As all callsites are updated, add the btrfs_ prefix as the function is exported. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -497,7 +497,7 @@ static int btree_read_extent_buffer_pages(struct btrfs_fs_info *fs_info,
|
||||
}
|
||||
|
||||
if (failed && !ret && failed_mirror)
|
||||
repair_eb_io_failure(fs_info, eb, failed_mirror);
|
||||
btrfs_repair_eb_io_failure(eb, failed_mirror);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user