https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f8d58bba388346c893830…
commit f8d58bba388346c89383095675852b4711e50074
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Wed Jan 31 21:28:40 2018 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Wed Jan 31 21:47:20 2018 +0100
[NTOSKRNL] Don't let CcWriteVirtualAddress() deal with VACB dirty status
CORE-14263
---
ntoskrnl/cc/copy.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ntoskrnl/cc/copy.c b/ntoskrnl/cc/copy.c
index b9e8893b87..3d60a1aded 100644
--- a/ntoskrnl/cc/copy.c
+++ b/ntoskrnl/cc/copy.c
@@ -142,7 +142,6 @@ CcWriteVirtualAddress (
IO_STATUS_BLOCK IoStatus;
KEVENT Event;
- Vacb->Dirty = FALSE;
Size = (ULONG)(Vacb->SharedCacheMap->SectionSize.QuadPart -
Vacb->FileOffset.QuadPart);
if (Size > VACB_MAPPING_GRANULARITY)
{
@@ -193,7 +192,6 @@ CcWriteVirtualAddress (
if (!NT_SUCCESS(Status) && (Status != STATUS_END_OF_FILE))
{
DPRINT1("IoPageWrite failed, Status %x\n", Status);
- Vacb->Dirty = TRUE;
return Status;
}