]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: add forward declarations and headers, part 1
authorDavid Sterba <dsterba@suse.com>
Fri, 26 Jan 2024 23:53:06 +0000 (00:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:49 +0000 (16:24 +0100)
commit22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d
tree2a9ebfae8d720613175db83b37f2372875ee223d
parente84bfffc4bbff4f2cf292e270d6654fe43efd29f
btrfs: add forward declarations and headers, part 1

Do a cleanup in the short 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>
29 files changed:
fs/btrfs/acl.h
fs/btrfs/async-thread.h
fs/btrfs/defrag.h
fs/btrfs/delalloc-space.h
fs/btrfs/dev-replace.h
fs/btrfs/dir-item.h
fs/btrfs/disk-io.h
fs/btrfs/export.h
fs/btrfs/extent_map.h
fs/btrfs/file.h
fs/btrfs/ioctl.h
fs/btrfs/ordered-data.h
fs/btrfs/orphan.h
fs/btrfs/print-tree.h
fs/btrfs/props.c
fs/btrfs/props.h
fs/btrfs/raid-stripe-tree.h
fs/btrfs/rcu-string.h
fs/btrfs/ref-verify.h
fs/btrfs/reflink.h
fs/btrfs/relocation.h
fs/btrfs/root-tree.h
fs/btrfs/scrub.h
fs/btrfs/super.h
fs/btrfs/sysfs.h
fs/btrfs/tree-mod-log.h
fs/btrfs/uuid-tree.h
fs/btrfs/verity.h
fs/btrfs/xattr.h