Merge branch 'akpm' (fixes from Andrew Morton)
[deliverable/linux.git] / net / sunrpc / auth_generic.c
index ed04869b2d4f4f097ea85e8fe899c2ea262a0aca..6f6b829c9e8ee2bab63ba5f30d03d3c39dc5ba52 100644 (file)
@@ -38,6 +38,12 @@ struct rpc_cred *rpc_lookup_cred(void)
 }
 EXPORT_SYMBOL_GPL(rpc_lookup_cred);
 
+struct rpc_cred *rpc_lookup_cred_nonblock(void)
+{
+       return rpcauth_lookupcred(&generic_auth, RPCAUTH_LOOKUP_RCU);
+}
+EXPORT_SYMBOL_GPL(rpc_lookup_cred_nonblock);
+
 /*
  * Public call interface for looking up machine creds.
  */
This page took 0.040555 seconds and 5 git commands to generate.