recovery: fix for expired clientid on retried CREATE_SESSION
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
7da9740908
commit
ce200a4c2d
1 changed files with 7 additions and 0 deletions
|
|
@ -372,6 +372,13 @@ retry:
|
||||||
status = ERROR_BAD_NET_RESP;
|
status = ERROR_BAD_NET_RESP;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
if (compound->args.argarray[0].op == OP_CREATE_SESSION) {
|
||||||
|
nfs41_create_session_args *csa = (nfs41_create_session_args*)
|
||||||
|
compound->args.argarray[0].arg;
|
||||||
|
AcquireSRWLockShared(&session->client->exid_lock);
|
||||||
|
csa->csa_clientid = session->client->clnt_id;
|
||||||
|
AcquireSRWLockShared(&session->client->exid_lock);
|
||||||
|
}
|
||||||
goto do_retry;
|
goto do_retry;
|
||||||
|
|
||||||
case NFS4ERR_BADSESSION:
|
case NFS4ERR_BADSESSION:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue