btrfs: add forward declarations and headers, part 2
authorDavid Sterba <dsterba@suse.com>
Sat, 27 Jan 2024 02:19:56 +0000 (03:19 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:49 +0000 (16:24 +0100)
commit602035d7fecf4d00c75c2ca5b956fa44136c3b86
tree4206fa20eb1021496765430edab2b207ec8d39df
parent22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d
btrfs: add forward declarations and headers, part 2

Do a cleanup in more headers:

- add forward declarations for types referenced by pointers
- add includes when types need them

This fixes potential compilation problems if the headers are reordered
or the missing includes are not provided indirectly.

Signed-off-by: David Sterba <dsterba@suse.com>
26 files changed:
fs/btrfs/bio.h
fs/btrfs/block-rsv.h
fs/btrfs/compression.h
fs/btrfs/delayed-inode.h
fs/btrfs/disk-io.h
fs/btrfs/extent-io-tree.h
fs/btrfs/extent-tree.h
fs/btrfs/extent_io.h
fs/btrfs/extent_map.h
fs/btrfs/file-item.h
fs/btrfs/free-space-cache.h
fs/btrfs/free-space-tree.h
fs/btrfs/inode-item.h
fs/btrfs/locking.h
fs/btrfs/lru_cache.h
fs/btrfs/misc.h
fs/btrfs/ordered-data.h
fs/btrfs/raid56.h
fs/btrfs/send.h
fs/btrfs/space-info.h
fs/btrfs/subpage.h
fs/btrfs/transaction.h
fs/btrfs/tree-checker.h
fs/btrfs/tree-log.h
fs/btrfs/ulist.h
fs/btrfs/zoned.h