summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-24 14:46:57 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:44 +0100
commita0231804affe78d27264811559ee31bd341c2bff (patch)
tree7e4b073c593234afa289ff9aceb7c194a17e8729 /fs/btrfs/free-space-tree.c
parente2f13b343c147bc34691301c30d8a8b35d0a2e5c (diff)
btrfs: move extent-tree helpers into their own header file
Move all the extent tree related prototypes to extent-tree.h out of ctree.h, and then go include it everywhere needed so everything compiles. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> 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 fc79d21e7b4f..a652e5dc465b 100644
--- a/fs/btrfs/free-space-tree.c
+++ b/fs/btrfs/free-space-tree.c
@@ -14,6 +14,7 @@
#include "block-group.h"
#include "fs.h"
#include "accessors.h"
+#include "extent-tree.h"
static int __add_block_group_free_space(struct btrfs_trans_handle *trans,
struct btrfs_block_group *block_group,