btrfs: move extent state init and alloc functions to their own file
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:21 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:03 +0000 (12:28 +0200)
commit83cf709a89fb97e78e60f310ea5f2b283e0f581c
treec5f8ecad62becd1645d2e54efcd4a00db60bf97a
parentc45379a20fbcbbd166966711cf9481ecb41b8271
btrfs: move extent state init and alloc functions to their own file

Start cleaning up extent_io.c by moving the extent state code out of it.
This patch starts with the extent state allocation code and the
extent_io_tree init code.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile
fs/btrfs/extent-io-tree.c [new file with mode: 0644]
fs/btrfs/extent-io-tree.h
fs/btrfs/extent_io.c