]> git.karo-electronics.de Git - linux-beck.git/commit
KEYS: Give key types their own lockdep class for key->sem
authorDavid Howells <dhowells@redhat.com>
Wed, 16 Nov 2011 11:15:54 +0000 (11:15 +0000)
committerJames Morris <jmorris@namei.org>
Wed, 16 Nov 2011 22:35:32 +0000 (09:35 +1100)
commit7845bc3964756240863ae453ffe4f7ee27ddc954
tree3a3b9bf568184a3ae82bc581b63e1576ce99d7c8
parent24942c8e5cc8696064ee207ff29d4cf21f70dafc
KEYS: Give key types their own lockdep class for key->sem

Give keys their own lockdep class to differentiate them from each other in case
a key of one type has to refer to a key of another type.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/key-type.h
security/keys/key.c