aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fscrypt_notsupp.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-04-30 15:51:36 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 16:20:59 -0400
commit54222025f2fe8055fa88c39b5d9f68cbd76b1be0 (patch)
tree957fb400d9b2a2eeff879563ed82f1869840c156 /include/linux/fscrypt_notsupp.h
parentfs, fscrypt: only define ->s_cop when FS_ENCRYPTION is enabled (diff)
downloadlinux-dev-54222025f2fe8055fa88c39b5d9f68cbd76b1be0.tar.xz
linux-dev-54222025f2fe8055fa88c39b5d9f68cbd76b1be0.zip
fscrypt: clean up after fscrypt_prepare_lookup() conversions
Now that all filesystems have been converted to use fscrypt_prepare_lookup(), we can remove the fscrypt_set_d_op() and fscrypt_set_encrypted_dentry() functions as well as un-export fscrypt_d_ops. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fscrypt_notsupp.h')
-rw-r--r--include/linux/fscrypt_notsupp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/fscrypt_notsupp.h b/include/linux/fscrypt_notsupp.h
index 44b50c04bae9..25b6492de6e5 100644
--- a/include/linux/fscrypt_notsupp.h
+++ b/include/linux/fscrypt_notsupp.h
@@ -64,16 +64,6 @@ static inline void fscrypt_restore_control_page(struct page *page)
return;
}
-static inline void fscrypt_set_d_op(struct dentry *dentry)
-{
- return;
-}
-
-static inline void fscrypt_set_encrypted_dentry(struct dentry *dentry)
-{
- return;
-}
-
/* policy.c */
static inline int fscrypt_ioctl_set_policy(struct file *filp,
const void __user *arg)