summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-15 12:44:04 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:57 +0300
commit27137fac4c0628fc8320bb7f1ce3bb9f84b76a9b (patch)
treea644b1a8b6962027a9d087ed7638ed4114342269 /fs/btrfs/volumes.h
parent7a3150723061ba1ac2ba10b1392b1cd75234172a (diff)
downloadlinux-27137fac4c0628fc8320bb7f1ce3bb9f84b76a9b.tar.xz
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/volumes.h')
-rw-r--r--fs/btrfs/volumes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 2c90e50c460a..ab551471c1f8 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -11,7 +11,7 @@
#include <linux/btrfs.h>
#include "async-thread.h"
#include "messages.h"
-#include "disk-io.h"
+#include "tree-checker.h"
#include "rcu-string.h"
#define BTRFS_MAX_DATA_CHUNK_SIZE (10ULL * SZ_1G)