aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto/fscrypt_private.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-04-30 15:51:45 -0700
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 16:21:04 -0400
commit1086c80c4d9144ff32741ddbca2fbb268a5de5f5 (patch)
treee609f6cefcb7b7053534f62acc2f741bbae0667f /fs/crypto/fscrypt_private.h
parentfscrypt: make fscrypt_operations.max_namelen an integer (diff)
downloadlinux-dev-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.tar.xz
linux-dev-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.zip
fscrypt: remove unnecessary check for non-logon key type
We're passing 'key_type_logon' to request_key(), so the found key is guaranteed to be of type "logon". Thus, there is no reason to check later that the key is really a "logon" key. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
0 files changed, 0 insertions, 0 deletions