diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 18:24:18 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 20:02:38 +0300 |
commit | cfdaad5e5f425b0a42ff1df3893f137b90099f44 (patch) | |
tree | 2e3b81ceee38d809f2a885419410e47b28bc0abc /fs/btrfs/tree-checker.c | |
parent | 1c4360ee056b724d3b0e4cb2d0fe4ff6c242b7ca (diff) | |
download | linux-cfdaad5e5f425b0a42ff1df3893f137b90099f44.tar.xz |
btrfs: get fs_info from eb in btrfs_check_leaf_relaxed
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/tree-checker.c')
-rw-r--r-- | fs/btrfs/tree-checker.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c index 594f8a0bff61..785318ead9af 100644 --- a/fs/btrfs/tree-checker.c +++ b/fs/btrfs/tree-checker.c @@ -968,8 +968,7 @@ int btrfs_check_leaf_full(struct extent_buffer *leaf) return check_leaf(leaf, true); } -int btrfs_check_leaf_relaxed(struct btrfs_fs_info *fs_info, - struct extent_buffer *leaf) +int btrfs_check_leaf_relaxed(struct extent_buffer *leaf) { return check_leaf(leaf, false); } |