fscrypt: remove unneeded empty fscrypt_operations structs
authorEric Biggers <ebiggers@google.com>
Mon, 9 Oct 2017 19:15:38 +0000 (12:15 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Oct 2017 23:52:37 +0000 (19:52 -0400)
commitffcc41829ae043d0830bcd4536812fec7e098d93
treedec5c48fa7632fe85d8b639644723d242b07e71a
parentf7293e48bb1d0c482cd706deb1256a6be718f4f5
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>
fs/ext4/super.c
fs/f2fs/super.c
fs/ubifs/super.c