diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-09-10 00:53:18 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 13:28:02 +0300 |
commit | a62a3bd9546b91a46bbb74f4b4a49815b64875b1 (patch) | |
tree | 8d45705feb579493ce86b1e386e88e3690b6ef88 /fs/btrfs/extent_io.h | |
parent | cdca85b092fbf4ce6f209b174ac3e7ef2b80bebf (diff) | |
download | linux-a62a3bd9546b91a46bbb74f4b4a49815b64875b1.tar.xz |
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.h | 3 |
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); |