cifs: after upcalling for krb5 creds, invalidate key rather than revoking it
authorJeff Layton <jlayton@redhat.com>
Mon, 23 Jul 2012 17:14:28 +0000 (13:14 -0400)
committerSteve French <smfrench@gmail.com>
Mon, 23 Jul 2012 21:36:24 +0000 (16:36 -0500)
commit00401ff780c58b9dabffef668386c206efc71c7c
tree99d1ee1a896ec532442470590775ef9d927b8396
parent0ec4f431eb56d633da3a55da67d5c4b88886ccc7
cifs: after upcalling for krb5 creds, invalidate key rather than revoking it

Calling key_revoke here isn't ideal as further requests for the key will
end up returning -EKEYREVOKED until it gets purged from the cache. What we
really intend here is to force a new upcall on the next request_key.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/sess.c