aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-09-09 17:53:18 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:02 +0200
commita62a3bd9546b91a46bbb74f4b4a49815b64875b1 (patch)
tree8d45705feb579493ce86b1e386e88e3690b6ef88 /fs/btrfs/extent-io-tree.h
parentbtrfs: use find_first_extent_bit in btrfs_clean_io_failure (diff)
downloadlinux-dev-a62a3bd9546b91a46bbb74f4b4a49815b64875b1.tar.xz
linux-dev-a62a3bd9546b91a46bbb74f4b4a49815b64875b1.zip
btrfs: separate out the extent state and extent buffer init code
In order to help separate the extent buffer from the extent io tree code we need to break up the init functions. Signed-off-by: Josef Bacik <josef@toxicpanda.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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-io-tree.h b/fs/btrfs/extent-io-tree.h
index ee2ba4b6e4a1..6c2016db304b 100644
--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -108,8 +108,8 @@ static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end)
int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end);
-int __init extent_io_init(void);
-void __cold extent_io_exit(void);
+int __init extent_state_init_cachep(void);
+void __cold extent_state_free_cachep(void);
u64 count_range_bits(struct extent_io_tree *tree,
u64 *start, u64 search_end,