btrfs: move space_info to space-info.h
authorJosef Bacik <josef@toxicpanda.com>
Tue, 18 Jun 2019 20:09:16 +0000 (16:09 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:51 +0000 (12:30 +0200)
commit8719aaae8d696bf0c73f74e6d6cc75451b50d5df
tree09af977a56434e943ab9b33871df5f39c7dc3dd8
parente749af443fa8dac67a896d38f5eca450a5b9026a
btrfs: move space_info to space-info.h

Migrate the struct definition and the one helper that's in ctree.h into
space-info.h

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/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/ioctl.c
fs/btrfs/space-info.h [new file with mode: 0644]
fs/btrfs/super.c
fs/btrfs/sysfs.c
fs/btrfs/volumes.c