From 3f69933c4243d6861d5cce701c28f2dee088e6c2 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 24 Aug 2010 16:46:45 -0400 Subject: [PATCH] Windows: cm_TryBulkStatRPC must process VIO errors If the bulkStat errorCode indicates that a particular object is inaccessible due to a VIO error, we must update the server status appropriately in order to permit failover. LICENSE MIT Change-Id: I19ce3d2c5b138d519fb1c437f6d5109d7d8b1310 Reviewed-on: http://gerrit.openafs.org/2657 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/cm_vnodeops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WINNT/afsd/cm_vnodeops.c b/src/WINNT/afsd/cm_vnodeops.c index 562500032b..ba80889890 100644 --- a/src/WINNT/afsd/cm_vnodeops.c +++ b/src/WINNT/afsd/cm_vnodeops.c @@ -2421,6 +2421,7 @@ cm_TryBulkStatRPC(cm_scache_t *dscp, cm_bulkStat_t *bbp, cm_user_t *userp, cm_re case VOFFLINE: case VSALVAGE: case VNOSERVICE: + case VIO: code = (&bbp->stats[0])->errorCode; break; default: