btrfs: move btrfs_add_free_space out of a header file
authorJosef Bacik <josef@toxicpanda.com>
Thu, 20 Jun 2019 19:37:43 +0000 (15:37 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:03 +0000 (14:59 +0200)
commit478b4d9f0105e33cae34445d5ad2eb9798628231
tree204ed991c49d9752a83b0b90ec5ec068d3a1aac0
parent430a662602ea7f8db53ece65899ee35dad56c671
btrfs: move btrfs_add_free_space out of a header file

This is prep work for moving block_group_cache around.  Having this in
the header file makes the header file include need to be in a certain
order, which is awkward, so just move it into free-space-cache.c and
then we can re-arrange later.

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/free-space-cache.c
fs/btrfs/free-space-cache.h