summaryrefslogtreecommitdiff
path: root/fs/btrfs/block-rsv.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 22:08:18 +0300
committerDavid Sterba <dsterba@suse.com>2022-12-05 20:00:45 +0300
commit3683fbbc2314d6721a353f8bf4285a819ea9b512 (patch)
tree2bbaa1ddf60f9b70e5d48d1b2bc0f42634f64818 /fs/btrfs/block-rsv.h
parentb31bed170d5241d4c9e2fc572f31fc15b274a6c9 (diff)
downloadlinux-3683fbbc2314d6721a353f8bf4285a819ea9b512.tar.xz
btrfs: add dependencies to fs.h and block-rsv.h
There's several structures that are embedded inside of fs_info.h, so if we don't have all the proper includes when we include fs.h we'll get a variety of compile errors. I fixed this by adding a temporary c file that just had #include "fs.h" and then added include files until the compiler stopped complaining. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> 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/block-rsv.h')
-rw-r--r--fs/btrfs/block-rsv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/block-rsv.h b/fs/btrfs/block-rsv.h
index 7e9016a9e193..e2cf0dd43203 100644
--- a/fs/btrfs/block-rsv.h
+++ b/fs/btrfs/block-rsv.h
@@ -4,6 +4,7 @@
#define BTRFS_BLOCK_RSV_H
struct btrfs_trans_handle;
+struct btrfs_root;
enum btrfs_reserve_flush_enum;
/*