summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-checker.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 18:24:18 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:38 +0300
commitcfdaad5e5f425b0a42ff1df3893f137b90099f44 (patch)
tree2e3b81ceee38d809f2a885419410e47b28bc0abc /fs/btrfs/tree-checker.h
parent1c4360ee056b724d3b0e4cb2d0fe4ff6c242b7ca (diff)
downloadlinux-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.h')
-rw-r--r--fs/btrfs/tree-checker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-checker.h b/fs/btrfs/tree-checker.h
index 0a0c25a2e77c..57c121ab8898 100644
--- a/fs/btrfs/tree-checker.h
+++ b/fs/btrfs/tree-checker.h
@@ -20,8 +20,7 @@ int btrfs_check_leaf_full(struct extent_buffer *leaf);
* Less strict leaf checker.
* Will only check item pointers, not reading item data.
*/
-int btrfs_check_leaf_relaxed(struct btrfs_fs_info *fs_info,
- struct extent_buffer *leaf);
+int btrfs_check_leaf_relaxed(struct extent_buffer *leaf);
int btrfs_check_node(struct btrfs_fs_info *fs_info, struct extent_buffer *node);
int btrfs_check_chunk_valid(struct btrfs_fs_info *fs_info,