From 345d643729ed588c4e49e69607bee5793809b01d Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sun, 6 May 2012 09:54:55 -0400 Subject: [PATCH] Windows: cm_SetServerBusyState use cm_ServerEqual When the busy state of a server is set it must apply to all server references if the server is multi-homed. Use cm_ServerEqual() to do so. Change-Id: I76c07746eb396af988a5270804e221e7a641db66 Reviewed-on: http://gerrit.openafs.org/7355 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/cm_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_conn.c b/src/WINNT/afsd/cm_conn.c index 15f0f502bd..2d3623a066 100644 --- a/src/WINNT/afsd/cm_conn.c +++ b/src/WINNT/afsd/cm_conn.c @@ -250,7 +250,7 @@ cm_SetServerBusyStatus(cm_serverRef_t *serversp, cm_server_t *serverp) for (tsrp = serversp; tsrp; tsrp=tsrp->next) { if (tsrp->status == srv_deleted) continue; - if (tsrp->server == serverp && tsrp->status == srv_not_busy) { + if (cm_ServerEqual(tsrp->server, serverp) && tsrp->status == srv_not_busy) { tsrp->status = srv_busy; break; }