[NTOS:CC] CcWriteVirtualAddress(): Do not round 'Size'
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Wed, 19 Jun 2019 04:54:02 +0000 (06:54 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 1 Jul 2019 19:30:25 +0000 (21:30 +0200)
Revert 'Properly align VACB writes' part of 2a80ae2bb6fdb4135d41244335caa2dadb6c8fa9.

CORE-15384 CORE-16018

ntoskrnl/cc/copy.c

index 41980b8..1f73171 100644 (file)
@@ -178,7 +178,6 @@ CcWriteVirtualAddress (
         } while (++i < (Size >> PAGE_SHIFT));
     }
 
-    Size = ROUND_TO_PAGES(Size);
     ASSERT(Size <= VACB_MAPPING_GRANULARITY);
     ASSERT(Size > 0);