summaryrefslogtreecommitdiff
path: root/fs/crypto/hooks.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-10-09 22:15:38 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-10-19 02:52:37 +0300
commitffcc41829ae043d0830bcd4536812fec7e098d93 (patch)
treedec5c48fa7632fe85d8b639644723d242b07e71a /fs/crypto/hooks.c
parentf7293e48bb1d0c482cd706deb1256a6be718f4f5 (diff)
downloadlinux-ffcc41829ae043d0830bcd4536812fec7e098d93.tar.xz
fscrypt: remove unneeded empty fscrypt_operations structs
In the case where a filesystem has been configured without encryption support, there is no longer any need to initialize ->s_cop at all, since none of the methods are ever called. Reviewed-by: Chao Yu <yuchao0@huawei.com> Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/hooks.c')
0 files changed, 0 insertions, 0 deletions