Message ID | c71206cd78eecee74f896c4a428c9f8e65b71bc3.1650517532.git.ritesh.list@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | ext4: Move out crypto ops to ext4_crypto.c | expand |
diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h index 91ea9477e9bd..18dd6048bab3 100644 --- a/include/linux/fscrypt.h +++ b/include/linux/fscrypt.h @@ -467,6 +467,13 @@ static inline int fscrypt_set_context(struct inode *inode, void *fs_data) struct fscrypt_dummy_policy { }; +static inline int fscrypt_set_test_dummy_encryption(struct super_block *sb, + const char *arg, + struct fscrypt_dummy_policy *dummy_policy) +{ + return -EOPNOTSUPP; +} + static inline void fscrypt_show_test_dummy_encryption(struct seq_file *seq, char sep, struct super_block *sb)
Provide definition of fscrypt_set_test_dummy_encryption() when CONFIG_FS_ENCRYPTION is disabled. This then returns -EOPNOTSUPP. Signed-off-by: Ritesh Harjani <ritesh.list@gmail.com> --- include/linux/fscrypt.h | 7 +++++++ 1 file changed, 7 insertions(+)