Author: arty
Date: Fri Jan  8 23:24:55 2010
New Revision: 45012

URL: http://svn.reactos.org/svn/reactos?rev=45012&view=rev
Log:
Fix copy/paste error.  We weren't using a page from the resources struct.

Modified:
    branches/arty-newcc/ntoskrnl/mm/section/fault.c

Modified: branches/arty-newcc/ntoskrnl/mm/section/fault.c
URL: 
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/mm/section/fault.c?rev=45012&r1=45011&r2=45012&view=diff
==============================================================================
--- branches/arty-newcc/ntoskrnl/mm/section/fault.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/mm/section/fault.c [iso-8859-1] Fri Jan  8 
23:24:55 2010
@@ -233,8 +233,7 @@
                if (NT_SUCCESS(Status))
                {
                        MmInsertRmap(Page, Process, Address);
-                       if (Locked) MmLockPage(Required->Page[0]);
-                       Required->Page[0] = 0;
+                       if (Locked) MmLockPage(Page);
                }
                DPRINT("XXX Set Event %x\n", Status);
                KeSetEvent(&MmWaitPageEvent, IO_NO_INCREMENT, FALSE);


Reply via email to