diff --git a/src/WINNT/afsd/cm_server.c b/src/WINNT/afsd/cm_server.c index a294824e4a..10f022bafe 100644 --- a/src/WINNT/afsd/cm_server.c +++ b/src/WINNT/afsd/cm_server.c @@ -915,7 +915,7 @@ cm_FindServerByUuid(afsUUID *serverUuid, int type, int locked) { cm_server_t *tsp; - if (locked) + if (!locked) lock_ObtainRead(&cm_serverLock); for (tsp = cm_allServersp; tsp; tsp = tsp->allNextp) {