Author: sir_richard
Date: Fri Feb 19 19:23:07 2010
New Revision: 45623
URL:
http://svn.reactos.org/svn/reactos?rev=45623&view=rev
Log:
[NTOS]: Fix an off-by-! error which caused MDL page allocation to use used pages instead
of free pages.
Modified:
trunk/reactos/ntoskrnl/mm/freelist.c
Modified: trunk/reactos/ntoskrnl/mm/freelist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/freelist.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] Fri Feb 19 19:23:07 2010
@@ -516,7 +516,7 @@
//
// Make sure it's free and if this is our first pass, zeroed
//
- if (!MiIsPfnInUse(Pfn1)) continue;
+ if (MiIsPfnInUse(Pfn1)) continue;
if ((Pfn1->u3.e1.PageLocation == ZeroedPageList) !=
LookForZeroedPages) continue;
//