]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: user: Use key preparsing
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Jul 2014 17:56:35 +0000 (18:56 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:46:17 +0000 (21:46 +0100)
commitd433cc70fdb7f0269020b5866bde401b4aa22254
treeb57ff2ec18945f20c113150c4d6d126812da7b8b
parent37731e67fa9dab1a5bca813b2fb5c12c3d635f30
KEYS: user: Use key preparsing

Make use of key preparsing in user-defined and logon keys so that quota size
determination can take place prior to keyring locking when a key is being
added.

Also the idmapper key types need to change to match as they use the
user-defined key type routines.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jlayton@primarydata.com>
fs/nfs/idmap.c
include/keys/user-type.h
security/keys/user_defined.c