diff options
author | David Sterba <dsterba@suse.com> | 2024-01-27 02:53:06 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:49 +0300 |
commit | 22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d (patch) | |
tree | 2a9ebfae8d720613175db83b37f2372875ee223d /fs/btrfs/export.h | |
parent | e84bfffc4bbff4f2cf292e270d6654fe43efd29f (diff) | |
download | linux-22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d.tar.xz |
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/export.h')
-rw-r--r-- | fs/btrfs/export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/export.h b/fs/btrfs/export.h index eba6bc4f5a61..464582273af9 100644 --- a/fs/btrfs/export.h +++ b/fs/btrfs/export.h @@ -4,6 +4,10 @@ #define BTRFS_EXPORT_H #include <linux/exportfs.h> +#include <linux/types.h> + +struct dentry; +struct super_block; extern const struct export_operations btrfs_export_ops; |