summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.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/backref.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/backref.c')
-rw-r--r--fs/btrfs/backref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index f556566b9c79..173df40da984 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -17,6 +17,7 @@
#include "tree-mod-log.h"
#include "fs.h"
#include "accessors.h"
+#include "extent-tree.h"
/* Just arbitrary numbers so we can be sure one of these happened. */
#define BACKREF_FOUND_SHARED 6