https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a0d2170729a01f4287c2d…
commit a0d2170729a01f4287c2d183f1bc1a18207e6148
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Wed Jun 19 06:54:02 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Mon Jul 1 21:30:25 2019 +0200
[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);