From 60c812a9dc4c436462d932da7430cf0c93a5d4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 23 Nov 2011 00:24:29 +0000 Subject: [PATCH] [NTOSKRNL/MM] - Also round down offset we're given when creating a page op, so we don't miss the one that could be running at the time svn path=/trunk/; revision=54480 --- reactos/ntoskrnl/mm/pageop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/ntoskrnl/mm/pageop.c b/reactos/ntoskrnl/mm/pageop.c index 21964ebf64c..efbc420a619 100644 --- a/reactos/ntoskrnl/mm/pageop.c +++ b/reactos/ntoskrnl/mm/pageop.c @@ -147,6 +147,7 @@ MmGetPageOp(PMEMORY_AREA MArea, HANDLE Pid, PVOID Address, PMM_PAGEOP PageOp; Address = (PVOID)PAGE_ROUND_DOWN(Address); + Offset = PAGE_ROUND_DOWN(Offset); /* * Calcuate the hash value for pageop structure