projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad8b1f
)
[NTOSKRNL] Don't let CcWriteVirtualAddress() deal with VACB dirty status
author
Pierre Schweitzer
<pierre@reactos.org>
Wed, 31 Jan 2018 20:28:40 +0000
(21:28 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Wed, 31 Jan 2018 20:47:20 +0000
(21:47 +0100)
CORE-14263
ntoskrnl/cc/copy.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/cc/copy.c
b/ntoskrnl/cc/copy.c
index
b9e8893
..
3d60a1a
100644
(file)
--- 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;
}