]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-vnovol-20080206
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Feb 2008 16:52:53 +0000 (16:52 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 6 Feb 2008 16:52:53 +0000 (16:52 +0000)
LICENSE MIT

VNOVOL means the volume could not be attached which from the client
perspective is the same as being offline.  The VLDB should not be
queried in response to this error.

(cherry picked from commit a0e454bd41ec8b363f7669d620d4ff3caa8caf1d)

src/WINNT/afsd/cm_conn.c

index 52b8323ad777cf4db8c12f8bf83f73df7802fb13..13f8dcbc27cb17a1fe2a178c73e544d155cbe67e 100644 (file)
@@ -483,7 +483,7 @@ cm_Analyze(cm_conn_t *connp, cm_user_t *userp, cm_req_t *reqp,
         for (tsrp = serversp; tsrp; tsrp=tsrp->next) {
             if (tsrp->server == serverp) {
                 /* REDIRECT */
-                if (errorCode == VNOVOL || errorCode == VMOVED) {
+                if (errorCode == VMOVED) {
                     tsrp->status = srv_deleted;
                     if (fidp) {
                         cm_ForceUpdateVolume(fidp, userp, reqp);