diff options
author | David Sterba <dsterba@suse.com> | 2024-01-27 05:19:56 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:49 +0300 |
commit | 602035d7fecf4d00c75c2ca5b956fa44136c3b86 (patch) | |
tree | 4206fa20eb1021496765430edab2b207ec8d39df /fs/btrfs/inode-item.h | |
parent | 22b46bdc5f11c0d3502fbc180cd83a1b5ab3d23d (diff) | |
download | linux-602035d7fecf4d00c75c2ca5b956fa44136c3b86.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/inode-item.h')
-rw-r--r-- | fs/btrfs/inode-item.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/inode-item.h b/fs/btrfs/inode-item.h index 4337bb26f419..c4aded82709b 100644 --- a/fs/btrfs/inode-item.h +++ b/fs/btrfs/inode-item.h @@ -6,14 +6,15 @@ #include <linux/types.h> #include <linux/crc32c.h> +struct fscrypt_str; +struct extent_buffer; struct btrfs_trans_handle; struct btrfs_root; struct btrfs_path; struct btrfs_key; struct btrfs_inode_extref; struct btrfs_inode; -struct extent_buffer; -struct fscrypt_str; +struct btrfs_truncate_control; /* * Return this if we need to call truncate_block for the last bit of the |