mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
windows-scache-refcount-race-20080207
LICENSE MIT if we are going to call a NoLock function better be holding the lock
This commit is contained in:
parent
f2be22f710
commit
bb2dc54732
@ -1928,8 +1928,8 @@ void cm_CheckCBExpiration(void)
|
|||||||
lock_ReleaseMutex(&scp->mx);
|
lock_ReleaseMutex(&scp->mx);
|
||||||
cm_CallbackNotifyChange(scp);
|
cm_CallbackNotifyChange(scp);
|
||||||
|
|
||||||
cm_ReleaseSCacheNoLock(scp);
|
|
||||||
lock_ObtainWrite(&cm_scacheLock);
|
lock_ObtainWrite(&cm_scacheLock);
|
||||||
|
cm_ReleaseSCacheNoLock(scp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user