mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
193a56aa66
commit
345d643729
@ -250,7 +250,7 @@ cm_SetServerBusyStatus(cm_serverRef_t *serversp, cm_server_t *serverp)
|
|||||||
for (tsrp = serversp; tsrp; tsrp=tsrp->next) {
|
for (tsrp = serversp; tsrp; tsrp=tsrp->next) {
|
||||||
if (tsrp->status == srv_deleted)
|
if (tsrp->status == srv_deleted)
|
||||||
continue;
|
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;
|
tsrp->status = srv_busy;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user