btrfs: move core extent_io_tree functions to extent-io-tree.c
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:29 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:03 +0000 (12:28 +0200)
commite3974c669472fed95eca723b6ab1340d0db33334
tree6cc217d34aa30ca9e286738b986e2522759d4b0b
parent38830018387e64e5aba5a654da7cba6e0ec03098
btrfs: move core extent_io_tree functions to extent-io-tree.c

This is still huge, but unfortunately I cannot make it smaller without
renaming tree_search() and changing all the callers to use the new name,
then moving those chunks and then changing the name back.  This feels
like too much churn for code movement, so I've limited this to only
things that called tree_search().  With this patch all of the
extent_io_tree code is now in extent-io-tree.c.

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/extent-io-tree.c
fs/btrfs/extent_io.c