diff options
Diffstat (limited to 'security/keys/keyctl.c')
-rw-r--r-- | security/keys/keyctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index 74c968524592..60983f38852e 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c | |||
@@ -1319,6 +1319,7 @@ long keyctl_session_to_parent(void) | |||
1319 | already_same: | 1319 | already_same: |
1320 | ret = 0; | 1320 | ret = 0; |
1321 | not_permitted: | 1321 | not_permitted: |
1322 | write_unlock_irq(&tasklist_lock); | ||
1322 | put_cred(cred); | 1323 | put_cred(cred); |
1323 | return ret; | 1324 | return ret; |
1324 | 1325 | ||