summaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-05-01 00:51:45 +0200
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 22:21:04 +0200
commit1086c80c4d9144ff32741ddbca2fbb268a5de5f5 (patch)
treee609f6cefcb7b7053534f62acc2f741bbae0667f /fs/compat.c
parentfscrypt: make fscrypt_operations.max_namelen an integer (diff)
downloadlinux-1086c80c4d9144ff32741ddbca2fbb268a5de5f5.tar.xz
linux-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/compat.c')
0 files changed, 0 insertions, 0 deletions