summaryrefslogtreecommitdiff
path: root/fs/crypto/crypto.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-05-01 01:51:35 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 23:20:59 +0300
commitbbbc3fb663947764d338c305087322a646298894 (patch)
tree24728bb5928be57d3543b581157b00c56bb40aac /fs/crypto/crypto.c
parent36dd26e0c8d42699eeba87431246c07c28075bae (diff)
downloadlinux-bbbc3fb663947764d338c305087322a646298894.tar.xz
fs, fscrypt: only define ->s_cop when FS_ENCRYPTION is enabled
Now that filesystems only set and use their fscrypt_operations when they are built with encryption support, we can remove ->s_cop from 'struct super_block' when FS_ENCRYPTION is disabled. This saves a few bytes on some kernels and also makes it consistent with ->i_crypt_info. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/crypto.c')
0 files changed, 0 insertions, 0 deletions