diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 11:23:44 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:29 +0200 |
commit | 20a1fbf97e11204e099a95167f1851fc54296a00 (patch) | |
tree | b727a87a20c994594f1530a1d3af45a86115f936 /fs/btrfs/disk-io.c | |
parent | btrfs: get fs_info from eb in lock_extent_buffer_for_io (diff) | |
download | linux-20a1fbf97e11204e099a95167f1851fc54296a00.tar.xz linux-20a1fbf97e11204e099a95167f1851fc54296a00.zip |
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index b29bb6e1a283..9c5b87bc0813 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -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; } |