diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 16:40:48 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:39 +0200 |
commit | ddaf1d5aef2c34f0cf5b0d71a48f9d88c5a0e2dc (patch) | |
tree | a4d9170bf4d5c47d6da1be05ab8b78b32a8e08ca /fs/btrfs/tree-checker.h | |
parent | 6ec0896c4c810da6abf2130f13cbbe38a8955697 (diff) | |
download | linux-ddaf1d5aef2c34f0cf5b0d71a48f9d88c5a0e2dc.tar.bz2 |
btrfs: get fs_info from eb in btrfs_check_chunk_valid
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-checker.h b/fs/btrfs/tree-checker.h index 96cf044df737..32fecc9dc1dd 100644 --- a/fs/btrfs/tree-checker.h +++ b/fs/btrfs/tree-checker.h @@ -23,8 +23,7 @@ int btrfs_check_leaf_full(struct extent_buffer *leaf); int btrfs_check_leaf_relaxed(struct extent_buffer *leaf); int btrfs_check_node(struct extent_buffer *node); -int btrfs_check_chunk_valid(struct btrfs_fs_info *fs_info, - struct extent_buffer *leaf, +int btrfs_check_chunk_valid(struct extent_buffer *leaf, struct btrfs_chunk *chunk, u64 logical); #endif |