diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 16:25:00 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:38 +0200 |
commit | 813fd1dcab2d030ce4445f3ecc143a492a62e8b8 (patch) | |
tree | c704f12107c386ddafb25dc2bd960fd68764a5e1 /fs/btrfs/disk-io.c | |
parent | cfdaad5e5f425b0a42ff1df3893f137b90099f44 (diff) | |
download | linux-813fd1dcab2d030ce4445f3ecc143a492a62e8b8.tar.bz2 |
btrfs: get fs_info from eb in btrfs_check_node
We can read fs_info from extent buffer and can drop it from the
parameters.
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 516812801081..36c44ddadd2d 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -657,7 +657,7 @@ static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, ret = -EIO; } - if (found_level > 0 && btrfs_check_node(fs_info, eb)) + if (found_level > 0 && btrfs_check_node(eb)) ret = -EIO; if (!ret) |