]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - security/keys/request_key.c
KEYS: call_sbin_request_key() must write lock keyrings before modifying them
[mv-sheeva.git] / security / keys / request_key.c
index d737cea5347cf2f30d9fac3f8141d0e81f05b74e..d8c1a6a0fb08e7e86a24be12c64ff6ee13f0a266 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;