Author: tkreuzer
Date: Tue Mar 18 20:40:51 2014
New Revision: 62531
URL:
http://svn.reactos.org/svn/reactos?rev=62531&view=rev
Log:
[NTOSKRNL]
Fix an ASSERT in ExfReleasePushLockExclusive
Modified:
branches/kernel-fun/reactos/ntoskrnl/ex/pushlock.c
Modified: branches/kernel-fun/reactos/ntoskrnl/ex/pushlock.c
URL:
http://svn.reactos.org/svn/reactos/branches/kernel-fun/reactos/ntoskrnl/ex/…
==============================================================================
--- branches/kernel-fun/reactos/ntoskrnl/ex/pushlock.c [iso-8859-1] (original)
+++ branches/kernel-fun/reactos/ntoskrnl/ex/pushlock.c [iso-8859-1] Tue Mar 18 20:40:51
2014
@@ -1130,7 +1130,7 @@
NewValue.Value = OldValue.Value &~ EX_PUSH_LOCK_LOCK;
/* Sanity check */
- ASSERT(NewValue.Waking && !NewValue.Waiting);
+ ASSERT(NewValue.Waking || !NewValue.Waiting);
/* Write the New Value */
NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr,