mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Comment out the assert which is hit in some cases ("advapi32_winetest.exe registry" being one of them), because there is no locking operation performed in CmpBuildHashStackAndLookupCache yet.
- Use a CmpIsKcbLockedExclusive macro in that assert. svn path=/trunk/; revision=36050
This commit is contained in:
@@ -70,9 +70,8 @@ CmpFreeKeyControlBlock(IN PCM_KEY_CONTROL_BLOCK Kcb)
|
||||
KeAcquireGuardedMutex(&CmpAllocBucketLock);
|
||||
|
||||
/* Sanity check on lock ownership */
|
||||
ASSERT((GET_HASH_ENTRY(CmpCacheTable, Kcb->ConvKey).Owner ==
|
||||
KeGetCurrentThread()) ||
|
||||
(CmpTestRegistryLockExclusive() == TRUE));
|
||||
//ASSERT((CmpIsKcbLockedExclusive(Kcb) == TRUE) ||
|
||||
// (CmpTestRegistryLockExclusive() == TRUE));
|
||||
|
||||
/* Add us to the free list */
|
||||
InsertTailList(&CmpFreeKCBListHead, &Kcb->FreeListEntry);
|
||||
|
||||
Reference in New Issue
Block a user