[ros-diffs] [jgardou] 54480: [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

jgardou at svn.reactos.org jgardou at svn.reactos.org
Wed Nov 23 00:24:29 UTC 2011


Author: jgardou
Date: Wed Nov 23 00:24:29 2011
New Revision: 54480

URL: http://svn.reactos.org/svn/reactos?rev=54480&view=rev
Log:
[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

Modified:
    trunk/reactos/ntoskrnl/mm/pageop.c

Modified: trunk/reactos/ntoskrnl/mm/pageop.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/pageop.c?rev=54480&r1=54479&r2=54480&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/pageop.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/pageop.c [iso-8859-1] Wed Nov 23 00:24:29 2011
@@ -147,6 +147,7 @@
    PMM_PAGEOP PageOp;
    
    Address = (PVOID)PAGE_ROUND_DOWN(Address);
+   Offset = PAGE_ROUND_DOWN(Offset);
 
    /*
     * Calcuate the hash value for pageop structure




More information about the Ros-diffs mailing list