commit | f70e2e06196ad4c1c762037da2f75354f6c16b81 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Apr 30 14:32:39 2010 +0100 |
committer | James Morris <jmorris@namei.org> | Thu May 06 22:25:02 2010 +1000 |
tree | 9632a1e655efb684c87f8c7be6d091fbb1a430e7 | |
parent | 043b4d40f53131c5f72eca2a46555fe35328a930 [diff] |
KEYS: Do preallocation for __key_link() Do preallocation for __key_link() so that the various callers in request_key.c can deal with any errors from this source before attempting to construct a key. This allows them to assume that the actual linkage step is guaranteed to be successful. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>