linux/fs/crypto
Eric Biggers cd39e4bac1 fscrypt: remove unnecessary checks for NULL operations
The functions in fs/crypto/*.c are only called by filesystems configured
with encryption support.  Since the ->get_context(), ->set_context(),
and ->empty_dir() operations are always provided in that case (and must
be, otherwise there would be no way to get/set encryption policies, or
in the case of ->get_context() even access encrypted files at all),
there is no need to check for these operations being NULL and we can
remove these unneeded checks.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2017-04-30 01:26:34 -04:00
..
bio.c fscrypt: factor out bio specific functions 2017-01-01 16:18:49 -05:00
crypto.c fscrypt: remove broken support for detecting keyring key revocation 2017-03-15 13:12:05 -04:00
fname.c fscrypt: remove broken support for detecting keyring key revocation 2017-03-15 13:12:05 -04:00
fscrypt_private.h fscrypt: remove broken support for detecting keyring key revocation 2017-03-15 13:12:05 -04:00
Kconfig fscrypt: factor out bio specific functions 2017-01-01 16:18:49 -05:00
keyinfo.c fscrypt: remove unnecessary checks for NULL operations 2017-04-30 01:26:34 -04:00
Makefile fscrypt: factor out bio specific functions 2017-01-01 16:18:49 -05:00
policy.c fscrypt: remove unnecessary checks for NULL operations 2017-04-30 01:26:34 -04:00