OSDN Git Service

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 02:20:21 +0000 (18:20 -0800)
commit272e43502577d08921becbce635d8e0a48c8086d
treea3bcd2fd2a70c73a1eff9286d000892ce0ac1ea7
parent1034eeec516a7ff036c55e46ff9fe124584fdb82
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/f2fs/super.c