From 10100f9649667f312f7ef2901454537132646b59 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Sun, 19 May 2002 13:53:02 +0000 Subject: [PATCH] Fixed a bug in ExAquireFastMutexUnsafe svn path=/trunk/; revision=2969 --- reactos/ntoskrnl/ex/fmutex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ex/fmutex.c b/reactos/ntoskrnl/ex/fmutex.c index 521a1164662..b80026d5b52 100644 --- a/reactos/ntoskrnl/ex/fmutex.c +++ b/reactos/ntoskrnl/ex/fmutex.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: fmutex.c,v 1.13 2002/05/17 23:01:56 dwelch Exp $ +/* $Id: fmutex.c,v 1.14 2002/05/19 13:53:02 chorns Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ex/fmutex.c @@ -38,7 +38,7 @@ VOID FASTCALL ExAcquireFastMutexUnsafe(PFAST_MUTEX FastMutex) { - assert(FastMutex->Owner != KeGetCurrentThread()); + assert(FastMutex->Owner == KeGetCurrentThread()); InterlockedIncrement(&FastMutex->Contention); while (InterlockedExchange(&FastMutex->Count, 0) == 0) {