KEYS: call_sbin_request_key() must write lock keyrings before modifying them
[pandora-kernel.git] / security / keys / request_key.c
index d737cea..d8c1a6a 100644 (file)
@@ -94,7 +94,7 @@ static int call_sbin_request_key(struct key_construction *cons,
        }
 
        /* attach the auth key to the session keyring */
-       ret = __key_link(keyring, authkey);
+       ret = key_link(keyring, authkey);
        if (ret < 0)
                goto error_link;