Home
last modified time | relevance | path

Searched hist:"3 d204e24d452f96704f5feb83f6b7654245defc9" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/ubifs/
H A Dsuper.cdiff 3d204e24d452f96704f5feb83f6b7654245defc9 Fri Jan 12 05:30:13 CET 2018 Eric Biggers <ebiggers@google.com> 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>