From: Jeffrey Altman Date: Mon, 29 Oct 2012 14:33:18 +0000 (-0400) Subject: Windows: mark server reference offline for VOFFLINE X-Git-Tag: upstream/1.6.2_pre2^2~32 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=39da28383a2a9edc5ab864c188a87645354624b2;p=packages%2Fo%2Fopenafs.git Windows: mark server reference offline for VOFFLINE cm_Analyze() was not marking the cm_ServerRef_t reference to a volume instance as srv_offline in response to a VOFFLINE error. As a result the same volume instance is tried again and again. Reviewed-on: http://gerrit.openafs.org/8326 Tested-by: BuildBot Reviewed-by: Jeffrey Altman (cherry picked from commit e59cf940ce1cb2ed72ccf05ce39f73019547d9b1) Change-Id: Iab79c0b2e0c885a0d9180c000f9cc9574fab11dc Reviewed-on: http://gerrit.openafs.org/8644 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index a80b3c4e4..f7d013785 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -695,6 +695,11 @@ cm_Analyze(cm_conn_t *connp, } } break; + case VOFFLINE: + osi_Log2(afsd_logp, "VOFFLINE received for volume %u from server %s", + fidp->volume, osi_LogSaveString(afsd_logp,addr)); + tsrp->status = srv_offline; + break; default: osi_Log3(afsd_logp, "volume %u exists on server %s with status %u", fidp->volume, osi_LogSaveString(afsd_logp,addr), tsrp->status);