From: David Howells Date: Tue, 22 Jul 2014 20:51:20 +0000 (+0100) Subject: Merge tag 'keys-preparse-1-20140722' into keys-next X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a19e3c22b34ae599eafd9fd05c887fc8e7ec2e3a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- a19e3c22b34ae599eafd9fd05c887fc8e7ec2e3a