windows-volume-vlgetaddrs-deadlock-20080721
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 22 Jul 2008 07:42:20 +0000 (07:42 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 22 Jul 2008 07:42:20 +0000 (07:42 +0000)
LICENSE MIT

A missing tilde makes a huge difference.

src/WINNT/afsd/cm_volume.c

index 3dffceb..cb3feb5 100644 (file)
@@ -102,7 +102,7 @@ void cm_InitVolume(int newFile, long maxVols)
 
                 lock_InitializeRWLock(&volp->rw, "cm_volume_t rwlock");
                 volp->flags |= CM_VOLUMEFLAG_RESET;
-                volp->flags &= CM_VOLUMEFLAG_UPDATING_VL;
+                volp->flags &= ~CM_VOLUMEFLAG_UPDATING_VL;
                 for (volType = RWVOL; volType < NUM_VOL_TYPES; volType++) {
                     volp->vol[volType].state = vl_unknown;
                     volp->vol[volType].serversp = NULL;