summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-15 10:44:04 +0100
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:57 +0100
commit27137fac4c0628fc8320bb7f1ce3bb9f84b76a9b (patch)
treea644b1a8b6962027a9d087ed7638ed4114342269 /fs/btrfs/backref.c
parentbtrfs: raid56: do data csum verification during RMW cycle (diff)
downloadlinux-27137fac4c0628fc8320bb7f1ce3bb9f84b76a9b.tar.xz
linux-27137fac4c0628fc8320bb7f1ce3bb9f84b76a9b.zip
btrfs: move struct btrfs_tree_parent_check out of disk-io.h
Move struct btrfs_tree_parent_check out of disk-io.h so that volumes.h an various .c files don't have to include disk-io.h just for it. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> [ use tree-checker.h for the structure ] 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 55c072ba6747..21c92c74bf71 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -19,6 +19,7 @@
#include "accessors.h"
#include "extent-tree.h"
#include "relocation.h"
+#include "tree-checker.h"
/* Just arbitrary numbers so we can be sure one of these happened. */
#define BACKREF_FOUND_SHARED 6