Commit ad7a0bbf authored by J. Bruce Fields's avatar J. Bruce Fields

TEMPORARY bugfix; consult with Trond, submit final to stable as well

parent b5a14d78
...@@ -541,6 +541,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb) ...@@ -541,6 +541,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb)
struct auth_cred acred = { struct auth_cred acred = {
.machine_cred = 1 .machine_cred = 1
}; };
struct rpc_auth *auth = cb->cb_client->cl_auth;
/* /*
* Note in the gss case this doesn't actually have to wait for a * Note in the gss case this doesn't actually have to wait for a
...@@ -548,8 +549,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb) ...@@ -548,8 +549,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb)
* non-uptodate cred which the rpc state machine will fill in with * non-uptodate cred which the rpc state machine will fill in with
* a refresh_upcall later. * a refresh_upcall later.
*/ */
return rpcauth_lookup_credcache(cb->cb_client->cl_auth, &acred, return auth->au_ops->lookup_cred(auth, &acred, RPCAUTH_LOOKUP_NEW);
RPCAUTH_LOOKUP_NEW);
} }
void do_probe_callback(struct nfs4_client *clp) void do_probe_callback(struct nfs4_client *clp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment