[NTOS]: Fix an off-by-! error which caused MDL page allocation to use used pages instead of free pages.

svn path=/trunk/; revision=45623
This commit is contained in:
Sir Richard 2010-02-19 18:23:07 +00:00
parent 6bde649d94
commit 0eb260e7ea

View File

@ -516,7 +516,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
//
// 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;
//