Author: sir_richard
Date: Sun Mar 4 03:18:47 2012
New Revision: 55988
URL:
http://svn.reactos.org/svn/reactos?rev=55988&view=rev
Log:
[NTOS]: Release the *right* lock. "Fix the fix" as the yuppies say.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Sun Mar 4 03:18:47 2012
@@ -4068,7 +4068,7 @@
// return whatever failure code was sent.
//
FailPath:
- MiUnlockWorkingSet(CurrentThread, AddressSpace);
+ MmUnlockAddressSpace(AddressSpace);
if (Attached) KeUnstackDetachProcess(&ApcState);
if (ProcessHandle != NtCurrentProcess()) ObDereferenceObject(Process);
return Status;