diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 63bb384b4d5c..4abb88264c72 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c | |||
@@ -437,6 +437,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb) | |||
437 | struct auth_cred acred = { | 437 | struct auth_cred acred = { |
438 | .machine_cred = 1 | 438 | .machine_cred = 1 |
439 | }; | 439 | }; |
440 | struct rpc_auth *auth = cb->cb_client->cl_auth; | ||
440 | 441 | ||
441 | /* | 442 | /* |
442 | * Note in the gss case this doesn't actually have to wait for a | 443 | * Note in the gss case this doesn't actually have to wait for a |
@@ -444,8 +445,7 @@ static struct rpc_cred *lookup_cb_cred(struct nfs4_cb_conn *cb) | |||
444 | * non-uptodate cred which the rpc state machine will fill in with | 445 | * non-uptodate cred which the rpc state machine will fill in with |
445 | * a refresh_upcall later. | 446 | * a refresh_upcall later. |
446 | */ | 447 | */ |
447 | return rpcauth_lookup_credcache(cb->cb_client->cl_auth, &acred, | 448 | return auth->au_ops->lookup_cred(auth, &acred, RPCAUTH_LOOKUP_NEW); |
448 | RPCAUTH_LOOKUP_NEW); | ||
449 | } | 449 | } |
450 | 450 | ||
451 | void do_probe_callback(struct nfs4_client *clp) | 451 | void do_probe_callback(struct nfs4_client *clp) |