From: Jeffrey Altman Date: Tue, 3 Aug 2004 21:10:36 +0000 (+0000) Subject: freelance-deadlock-20070803 X-Git-Tag: BP-openafs-stable-1_4_x~42 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=03dd9eefd3e8e797493463522ee9f3eb1e36e8bd freelance-deadlock-20070803 oops --- diff --git a/src/WINNT/afsd/cm_callback.c b/src/WINNT/afsd/cm_callback.c index 09a756c..c84b367 100644 --- a/src/WINNT/afsd/cm_callback.c +++ b/src/WINNT/afsd/cm_callback.c @@ -650,9 +650,9 @@ int cm_HaveCallback(cm_scache_t *scp) } else if (fdc==2 && !fgc) { // we're in good shape if (cm_getLocalMountPointChange()) { // check for changes cm_clearLocalMountPointChange(); // clear the changefile - lock_ReleaseMutex(scp->mx); // this is re-locked in reInitLocalMountPoints + lock_ReleaseMutex(&scp->mx); // this is re-locked in reInitLocalMountPoints cm_reInitLocalMountPoints(); // start reinit - lock_ObtainMutex(scp->mx); // now get the lock back + lock_ObtainMutex(&scp->mx); // now get the lock back return 0; } return 1; // no change