From a0d2170729a01f4287c2d183f1bc1a18207e6148 Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Wed, 19 Jun 2019 06:54:02 +0200 Subject: [PATCH] [NTOS:CC] CcWriteVirtualAddress(): Do not round 'Size' Revert 'Properly align VACB writes' part of 2a80ae2bb6fdb4135d41244335caa2dadb6c8fa9. CORE-15384 CORE-16018 --- ntoskrnl/cc/copy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ntoskrnl/cc/copy.c b/ntoskrnl/cc/copy.c index 41980b87d45..1f731716b1f 100644 --- a/ntoskrnl/cc/copy.c +++ b/ntoskrnl/cc/copy.c @@ -178,7 +178,6 @@ CcWriteVirtualAddress ( } while (++i < (Size >> PAGE_SHIFT)); } - Size = ROUND_TO_PAGES(Size); ASSERT(Size <= VACB_MAPPING_GRANULARITY); ASSERT(Size > 0);