aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.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.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.h')
-rw-r--r--fs/btrfs/extent_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 1c4717669073..a335fbe23bed 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -64,6 +64,9 @@ struct btrfs_fs_info;
struct io_failure_record;
struct extent_io_tree;
+int __init extent_buffer_init_cachep(void);
+void __cold extent_buffer_free_cachep(void);
+
typedef void (submit_bio_hook_t)(struct inode *inode, struct bio *bio,
int mirror_num,
enum btrfs_compression_type compress_type);