Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsclient/nfs_clrpcops.c
Context not available. | |||||
*/ | */ | ||||
if (!error) | if (!error) | ||||
op->nfso_opencnt++; | op->nfso_opencnt++; | ||||
nfscl_openrelease(op, error, newone); | nfscl_openrelease(nmp, op, error, newone); | ||||
if (error == NFSERR_GRACE || error == NFSERR_STALECLIENTID || | if (error == NFSERR_GRACE || error == NFSERR_STALECLIENTID || | ||||
error == NFSERR_STALEDONTRECOVER || error == NFSERR_DELAY || | error == NFSERR_STALEDONTRECOVER || error == NFSERR_DELAY || | ||||
error == NFSERR_BADSESSION) { | error == NFSERR_BADSESSION) { | ||||
Context not available. | |||||
if (dp != NULL) | if (dp != NULL) | ||||
(void) nfscl_deleg(nmp->nm_mountp, owp->nfsow_clp, | (void) nfscl_deleg(nmp->nm_mountp, owp->nfsow_clp, | ||||
(*nfhpp)->nfh_fh, (*nfhpp)->nfh_len, cred, p, &dp); | (*nfhpp)->nfh_fh, (*nfhpp)->nfh_len, cred, p, &dp); | ||||
nfscl_ownerrelease(owp, error, newone, unlocked); | nfscl_ownerrelease(nmp, owp, error, newone, unlocked); | ||||
if (error == NFSERR_GRACE || error == NFSERR_STALECLIENTID || | if (error == NFSERR_GRACE || error == NFSERR_STALECLIENTID || | ||||
error == NFSERR_STALEDONTRECOVER || error == NFSERR_DELAY || | error == NFSERR_STALEDONTRECOVER || error == NFSERR_DELAY || | ||||
error == NFSERR_BADSESSION) { | error == NFSERR_BADSESSION) { | ||||
Context not available. | |||||
error = ret; | error = ret; | ||||
} | } | ||||
} | } | ||||
nfscl_openrelease(op, error, newone); | nfscl_openrelease(nmp, op, error, newone); | ||||
*unlockedp = 1; | *unlockedp = 1; | ||||
} | } | ||||
if (nd->nd_repstat != 0 && error == 0) | if (nd->nd_repstat != 0 && error == 0) | ||||
Context not available. |