diff options
Diffstat (limited to 'fs/ceph/crypto.h')
-rw-r--r-- | fs/ceph/crypto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/crypto.h b/fs/ceph/crypto.h index 21694df7dfbf..b5413ec95b1a 100644 --- a/fs/ceph/crypto.h +++ b/fs/ceph/crypto.h @@ -103,6 +103,7 @@ static inline void ceph_fname_free_buffer(struct inode *parent, int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, struct fscrypt_str *oname, bool *is_nokey); +int ceph_fscrypt_prepare_readdir(struct inode *dir); #else /* CONFIG_FS_ENCRYPTION */ @@ -160,6 +161,11 @@ static inline int ceph_fname_to_usr(const struct ceph_fname *fname, oname->len = fname->name_len; return 0; } + +static inline int ceph_fscrypt_prepare_readdir(struct inode *dir) +{ + return 0; +} #endif /* CONFIG_FS_ENCRYPTION */ #endif |