fscrypt: remove unneeded empty fscrypt_operations structs
authorEric Biggers <ebiggers@google.com>
Mon, 9 Oct 2017 19:15:38 +0000 (12:15 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 5 Jan 2018 00:17:29 +0000 (16:17 -0800)
commitb31ee2e1280e3624e55199b27843ef8457428b4a
tree59decb23f9d8b3118528399ce20ba4dbc144a742
parent82cbed4cdc5ea4864862dde6aa6de08ce24454ed
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