diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-09-22 11:39:04 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:15 +0200 |
commit | a1c20d15ee1e2cdcb54134174f0dab3b2fbcf4e4 (patch) | |
tree | 993901173e49034d8923e15a2c3be04bc4b02ee6 /fs/btrfs/extent-io-tree.h | |
parent | bea22a58c9f39ef426ff76b570d93111882152ec (diff) | |
download | lwn-a1c20d15ee1e2cdcb54134174f0dab3b2fbcf4e4.tar.gz lwn-a1c20d15ee1e2cdcb54134174f0dab3b2fbcf4e4.zip |
btrfs: make wait_extent_bit() static
The function wait_extent_bit() is not used outside extent-io-tree.c so
make it static. Furthermore the function doesn't have the 'btrfs_' prefix.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
-rw-r--r-- | fs/btrfs/extent-io-tree.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h index 93c8eddadc03..5602b0137fcd 100644 --- a/fs/btrfs/extent-io-tree.h +++ b/fs/btrfs/extent-io-tree.h @@ -193,7 +193,5 @@ int find_contiguous_extent_bit(struct extent_io_tree *tree, u64 start, bool btrfs_find_delalloc_range(struct extent_io_tree *tree, u64 *start, u64 *end, u64 max_bytes, struct extent_state **cached_state); -void wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, - struct extent_state **cached_state); #endif /* BTRFS_EXTENT_IO_TREE_H */ |