summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-11-15 11:16:12 -0500
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:58 +0100
commit6bfd0ffa6f2ae0ead92af7c4521626cd456115c5 (patch)
treeac993d1af002a288bb0cf7d830daef69cd6f4498 /fs/btrfs/tree-checker.c
parent3a3178c7f7675661d7bd0c67f57420e20982bd34 (diff)
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/tree-checker.c')
-rw-r--r--fs/btrfs/tree-checker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c
index 1c2d418dda6a..32e051101a27 100644
--- a/fs/btrfs/tree-checker.c
+++ b/fs/btrfs/tree-checker.c
@@ -28,6 +28,7 @@
#include "btrfs_inode.h"
#include "fs.h"
#include "accessors.h"
+#include "file-item.h"
/*
* Error message should follow the following format: