summaryrefslogtreecommitdiff
path: root/fs/btrfs/space-info.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/space-info.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/space-info.c')
-rw-r--r--fs/btrfs/space-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c
index 45404798ee8c..e5f9f43ffa4c 100644
--- a/fs/btrfs/space-info.c
+++ b/fs/btrfs/space-info.c
@@ -12,6 +12,7 @@
#include "zoned.h"
#include "fs.h"
#include "accessors.h"
+#include "extent-tree.h"
/*
* HOW DOES SPACE RESERVATION WORK