btrfs: add dependencies to fs.h and block-rsv.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 26 Oct 2022 19:08:18 +0000 (15:08 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:45 +0000 (18:00 +0100)
commit3683fbbc2314d6721a353f8bf4285a819ea9b512
tree2bbaa1ddf60f9b70e5d48d1b2bc0f42634f64818
parentb31bed170d5241d4c9e2fc572f31fc15b274a6c9
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>
fs/btrfs/block-rsv.h
fs/btrfs/fs.h