git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipmr/ip6mr: Initialize the last assert time of mfc entries.
[pandora-kernel.git]
/
security
/
keys
/
key.c
diff --git
a/security/keys/key.c
b/security/keys/key.c
index
4414abd
..
d3b2f6e
100644
(file)
--- a/
security/keys/key.c
+++ b/
security/keys/key.c
@@
-572,7
+572,7
@@
int key_reject_and_link(struct key *key,
mutex_unlock(&key_construction_mutex);
mutex_unlock(&key_construction_mutex);
- if (keyring)
+ if (keyring
&& link_ret == 0
)
__key_link_end(keyring, key->type, prealloc);
/* wake up anyone waiting for a key to be constructed */
__key_link_end(keyring, key->type, prealloc);
/* wake up anyone waiting for a key to be constructed */