btrfs: separate out the extent io init function

We are moving extent_io_tree into it's on file, so separate out the
extent_state init stuff from extent_io_tree_init().

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Josef Bacik
2019-09-23 10:05:18 -04:00
committed by David Sterba
parent 33ca832fef
commit 6f0d04f8e7
3 changed files with 22 additions and 9 deletions

View File

@@ -556,4 +556,6 @@ bool find_lock_delalloc_range(struct inode *inode,
struct extent_buffer *alloc_test_extent_buffer(struct btrfs_fs_info *fs_info,
u64 start);
int __init extent_state_cache_init(void);
void __cold extent_state_cache_exit(void);
#endif