summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-checker.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 16:25:00 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:38 +0200
commit813fd1dcab2d030ce4445f3ecc143a492a62e8b8 (patch)
treec704f12107c386ddafb25dc2bd960fd68764a5e1 /fs/btrfs/tree-checker.h
parentcfdaad5e5f425b0a42ff1df3893f137b90099f44 (diff)
downloadlinux-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/tree-checker.h')
-rw-r--r--fs/btrfs/tree-checker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-checker.h b/fs/btrfs/tree-checker.h
index 57c121ab8898..96cf044df737 100644
--- a/fs/btrfs/tree-checker.h
+++ b/fs/btrfs/tree-checker.h
@@ -21,7 +21,7 @@ int btrfs_check_leaf_full(struct extent_buffer *leaf);
* Will only check item pointers, not reading item data.
*/
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_node(struct extent_buffer *node);
int btrfs_check_chunk_valid(struct btrfs_fs_info *fs_info,
struct extent_buffer *leaf,