summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-20 21:37:44 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:03 +0200
commitaac0023c2106952538414254960c51dcf0dc39e9 (patch)
tree105b51c01bcd06df933f063b73ce6e1bd51b8bbf /fs/btrfs/free-space-tree.c
parentbtrfs: move btrfs_add_free_space out of a header file (diff)
downloadlinux-aac0023c2106952538414254960c51dcf0dc39e9.tar.xz
linux-aac0023c2106952538414254960c51dcf0dc39e9.zip
btrfs: move basic block_group definitions to their own header
This is prep work for moving all of the block group cache code into its own file. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> [ minor comment updates ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.c')
-rw-r--r--fs/btrfs/free-space-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c
index f5dc115ebba0..48a03f5240f5 100644
--- a/fs/btrfs/free-space-tree.c
+++ b/fs/btrfs/free-space-tree.c
@@ -10,6 +10,7 @@
#include "locking.h"
#include "free-space-tree.h"
#include "transaction.h"
+#include "block-group.h"
static int __add_block_group_free_space(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,