diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-08-25 16:19:26 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:02 +0200 |
commit | 04cc63d12c788e75e2d1a3850b8425724a7fe739 (patch) | |
tree | 39abc58eaaaf7b9144b6417b5d9b2f10fb178642 /fs/btrfs/dir-item.h | |
parent | 3ecb43cb64597f1c645efe8e4d1caff3557e98c4 (diff) |
btrfs: add fscrypt related dependencies to respective headers
These headers have struct fscrypt_str as function arguments, so add
struct fscrypt_str to the theader, and include linux/fscrypt.h in
btrfs_inode.h as it also needs the definition of struct fscrypt_name for
the new inode args.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dir-item.h')
-rw-r--r-- | fs/btrfs/dir-item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/dir-item.h b/fs/btrfs/dir-item.h index 5db2ea0dfd76..e40a226373d7 100644 --- a/fs/btrfs/dir-item.h +++ b/fs/btrfs/dir-item.h @@ -5,6 +5,8 @@ #include <linux/crc32c.h> +struct fscrypt_str; + int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, const struct fscrypt_str *name); int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, |