summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-24 20:46:57 +0200
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:44 +0100
commita0231804affe78d27264811559ee31bd341c2bff (patch)
tree7e4b073c593234afa289ff9aceb7c194a17e8729 /fs/btrfs/extent-tree.c
parentbtrfs: move btrfs_account_ro_block_groups_free_space into space-info.c (diff)
downloadlinux-a0231804affe78d27264811559ee31bd341c2bff.tar.xz
linux-a0231804affe78d27264811559ee31bd341c2bff.zip
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/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index b97c99a8dd4c..d2d5de946242 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -38,6 +38,7 @@
#include "dev-replace.h"
#include "fs.h"
#include "accessors.h"
+#include "extent-tree.h"
#undef SCRAMBLE_DELAYED_REFS