error = nfsrpc_renew(clp, NULL, cred, p);
if (error == NFSERR_CBPATHDOWN)
cbpathdown = 1;
else if (error == NFSERR_STALECLIENTID ||
else if (error == NFSERR_STALECLIENTID) {
error == NFSERR_BADSESSION) {
NFSLOCKCLSTATE();
clp->nfsc_flags |= NFSCLFLAGS_RECOVER;
NFSUNLOCKCLSTATE();
* in-progress RPCs.
*/
tsep = NULL;
if (TAILQ_FIRST(&nmp->nm_sess) != NULL)
if (TAILQ_FIRST(&nmp->nm_sess) != NULL) {
tsep = NFSMNT_MDSSESSION(nmp);
if (tsep->nfsess_defunct == 0)
printf("nfsrpc_setclient: "
"nfsess_defunct not set\n");
}
TAILQ_INSERT_HEAD(&nmp->nm_sess, dsp,
nfsclds_list);
/*