summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-11-15 19:16:12 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:58 +0300
commit6bfd0ffa6f2ae0ead92af7c4521626cd456115c5 (patch)
treeac993d1af002a288bb0cf7d830daef69cd6f4498 /fs/btrfs/ctree.c
parent3a3178c7f7675661d7bd0c67f57420e20982bd34 (diff)
downloadlinux-6bfd0ffa6f2ae0ead92af7c4521626cd456115c5.tar.xz
btrfs: move file_extent_item helpers into file-item.h
These helpers use functions that are in multiple places, which makes it tricky to sync them into btrfs-progs. Move them to file-item.h and then include file-item.h in places that use these helpers. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index dc38c24a0ffa..e85b243be5a2 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -22,6 +22,7 @@
#include "accessors.h"
#include "extent-tree.h"
#include "relocation.h"
+#include "file-item.h"
static struct kmem_cache *btrfs_path_cachep;