mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[NTOSKRNL]
- Fix a typo in a remove lock timeout check - Fixes breaking into kdbg randomly when a caller specifies no timeout on their remove lock svn path=/trunk/; revision=53302
This commit is contained in:
parent
320ad29ff4
commit
4cf82b565f
|
@ -170,8 +170,8 @@ IoReleaseRemoveLockEx(IN PIO_REMOVE_LOCK RemoveLock,
|
|||
while (TrackingBlock != NULL)
|
||||
{
|
||||
/* First of all, check if the lock was locked for too long */
|
||||
if (TrackingBlock->LockMoment.QuadPart &&
|
||||
CurrentMoment.QuadPart - TrackingBlock->LockMoment.QuadPart > Lock->Dbg.MaxLockedTicks)
|
||||
if (Lock->Dbg.MaxLockedTicks &&
|
||||
CurrentMoment.QuadPart - TrackingBlock->LockMoment.QuadPart > Lock->Dbg.MaxLockedTicks)
|
||||
{
|
||||
DPRINT("Lock %#08lx (with tag %#08lx) was supposed to be held at max %I64d ticks but lasted longer\n",
|
||||
Lock, TrackingBlock->Tag, Lock->Dbg.MaxLockedTicks);
|
||||
|
|
Loading…
Reference in a new issue