[ros-diffs] [sir_richard] 55988: [NTOS]: Release the *right* lock. "Fix the fix" as the yuppies say.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Sun Mar 4 03:18:47 UTC 2012


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?rev=55988&r1=55987&r2=55988&view=diff
==============================================================================
--- 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;




More information about the Ros-diffs mailing list