diff options
author | David Howells <dhowells@redhat.com> | 2014-07-18 13:56:36 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-22 16:46:47 -0400 |
commit | 002edaf76f09af658241029817f5ef66f6bef5e4 (patch) | |
tree | 2b04fa0c47ba3b9dfca97bb769cfae3aa0bbeffe /include/keys | |
parent | 8a7a3eb4ddbe7c7e639170a64adede7cbd5a9247 (diff) |
KEYS: big_key: Use key preparsing
Make use of key preparsing in the big key type so that quota size determination
can take place prior to keyring locking when a key is being added.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'include/keys')
-rw-r--r-- | include/keys/big_key-type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/keys/big_key-type.h b/include/keys/big_key-type.h index d69bc8af3292..e0970a578188 100644 --- a/include/keys/big_key-type.h +++ b/include/keys/big_key-type.h | |||
@@ -16,7 +16,8 @@ | |||
16 | 16 | ||
17 | extern struct key_type key_type_big_key; | 17 | extern struct key_type key_type_big_key; |
18 | 18 | ||
19 | extern int big_key_instantiate(struct key *key, struct key_preparsed_payload *prep); | 19 | extern int big_key_preparse(struct key_preparsed_payload *prep); |
20 | extern void big_key_free_preparse(struct key_preparsed_payload *prep); | ||
20 | extern void big_key_revoke(struct key *key); | 21 | extern void big_key_revoke(struct key *key); |
21 | extern void big_key_destroy(struct key *key); | 22 | extern void big_key_destroy(struct key *key); |
22 | extern void big_key_describe(const struct key *big_key, struct seq_file *m); | 23 | extern void big_key_describe(const struct key *big_key, struct seq_file *m); |