]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'keys-preparse-1-20140722' into keys-next
authorDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:51:20 +0000 (21:51 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 22 Jul 2014 20:51:20 +0000 (21:51 +0100)
commit7574b1baac6bd753d9ebb0ca1ec87e89eef497b7
tree44a93a6da7868c58606f39421870b32a920b3e77
parentf182f7ae8f06f8269b5ec68e081431bec0889e10
parent9027317bed1b9dba63648cf2c70c750b2a57fc96
Merge tag 'keys-preparse-1-20140722' into keys-next

Here are a set of changes that make all but encrypted and trusted keys use
preparsing.  Unfortunately, encrypted and trusted keys incorrectly use the
update op to alter a key, so other changes will need to be made for them.

These changes permit payload parsing when instantiating or updating a key to be
done before locks are taken and to determine the amount of quota that will be
required in advance.  The latter will make it possible to do LRU discard before
any locks are taken.

Signed-off-by: David Howells <dhowells@redhat.com>