btrfs: move the space_info handling code to space-info.c
authorJosef Bacik <josef@toxicpanda.com>
Tue, 18 Jun 2019 20:09:19 +0000 (16:09 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:52 +0000 (12:30 +0200)
commit280c290881bc048bd5dbe02796173f55ca86e697
tree8fef64c54f7016a89de2fc935e683cc6246be0b5
parentd44b72aa12d0a74b67ffabdcab2f64653282dccd
btrfs: move the space_info handling code to space-info.c

These are the basic init and lookup functions and some helper functions,
fairly straightforward before the bad stuff starts.

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