[PATCH] Keys: Fix key quota management on key allocation
authorDavid Howells <dhowells@redhat.com>
Sat, 25 Mar 2006 11:06:51 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:50 +0000 (08:22 -0800)
commit3dccff8dc00994428777f483922058c554db85bd
tree14c72fa82afa4e325c4aaa3f84c31ab154f60b1d
parenta7d06ca7b626c9257bee4439d9d80a7e44ae237e
[PATCH] Keys: Fix key quota management on key allocation

Make key quota detection generate an error if either quota is exceeded rather
than only if both quotas are exceeded.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/keys/key.c