commit | 1086c80c4d9144ff32741ddbca2fbb268a5de5f5 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Apr 30 15:51:45 2018 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun May 20 16:21:04 2018 -0400 |
tree | e609f6cefcb7b7053534f62acc2f741bbae0667f | |
parent | e12ee6836a3fd3c6ebc9b2dc8a7974af592340d0 [diff] |
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>