mirror of
https://github.com/reactos/reactos.git
synced 2024-12-23 02:53:27 +08:00
[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:
parent
6bde649d94
commit
0eb260e7ea
@ -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;
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user