summaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-08-25 23:19:26 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:02 +0300
commit04cc63d12c788e75e2d1a3850b8425724a7fe739 (patch)
tree39abc58eaaaf7b9144b6417b5d9b2f10fb178642 /fs/btrfs/btrfs_inode.h
parent3ecb43cb64597f1c645efe8e4d1caff3557e98c4 (diff)
downloadlinux-04cc63d12c788e75e2d1a3850b8425724a7fe739.tar.xz
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/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index bda1fdbba666..bca97a6bb246 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -8,6 +8,7 @@
#include <linux/hash.h>
#include <linux/refcount.h>
+#include <linux/fscrypt.h>
#include "extent_map.h"
#include "extent_io.h"
#include "ordered-data.h"