linux_dsm_epyc7002/fs/crypto
Eric Biggers 3d204e24d4 fscrypt: remove 'ci' parameter from fscrypt_put_encryption_info()
fscrypt_put_encryption_info() is only called when evicting an inode, so
the 'struct fscrypt_info *ci' parameter is always NULL, and there cannot
be races with other threads.  This was cruft left over from the broken
key revocation code.  Remove the unused parameter and the cmpxchg().

Also remove the #ifdefs around the fscrypt_put_encryption_info() calls,
since fscrypt_notsupp.h defines a no-op stub for it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-01-11 23:30:13 -05:00
..
bio.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
crypto.c fscrypt: trim down fscrypt.h includes 2018-01-11 22:06:19 -05:00
fname.c fscrypt: fix up fscrypt_fname_encrypted_size() for internal use 2018-01-11 23:30:08 -05:00
fscrypt_private.h fscrypt: fix up fscrypt_fname_encrypted_size() for internal use 2018-01-11 23:30:08 -05:00
hooks.c fscrypt: fix up fscrypt_fname_encrypted_size() for internal use 2018-01-11 23:30:08 -05:00
Kconfig fscrypt: add support for AES-128-CBC 2017-06-23 20:05:07 -04:00
keyinfo.c fscrypt: remove 'ci' parameter from fscrypt_put_encryption_info() 2018-01-11 23:30:13 -05:00
Makefile fscrypt: new helper function - fscrypt_file_open() 2017-10-18 19:52:37 -04:00
policy.c fscrypt: lots of cleanups, mostly courtesy by Eric Biggers 2017-11-14 11:35:15 -08:00