]> 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)
commita706d3c130ff1de259738e1334da433cf8c0242f
tree44a93a6da7868c58606f39421870b32a920b3e77
parent0871d4cdc93516d728401a6604c17ba4c47e883f
parent8f882b8e99e5fe61504d73ee82fab41baf57a8ef
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>