diff options
author | David Sterba <dsterba@suse.com> | 2024-01-27 00:53:06 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:49 +0100 |
commit | 22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d (patch) | |
tree | 2a9ebfae8d720613175db83b37f2372875ee223d /fs/btrfs/props.h | |
parent | btrfs: hoist fs_info out of loops in end_bbio_data_write and end_bbio_data_read (diff) | |
download | linux-22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d.tar.xz linux-22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d.zip |
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>
Diffstat (limited to 'fs/btrfs/props.h')
-rw-r--r-- | fs/btrfs/props.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/btrfs/props.h b/fs/btrfs/props.h index 6e283196e38a..f60cd89feb29 100644 --- a/fs/btrfs/props.h +++ b/fs/btrfs/props.h @@ -6,7 +6,12 @@ #ifndef BTRFS_PROPS_H #define BTRFS_PROPS_H -#include "ctree.h" +#include <linux/compiler_types.h> + +struct inode; +struct btrfs_inode; +struct btrfs_path; +struct btrfs_trans_handle; int __init btrfs_props_init(void); |