[NTOSKRNL] When marking a BCB dirty, also mark the underlying VACB dirty.
authorPierre Schweitzer <pierre@reactos.org>
Tue, 23 Jan 2018 20:48:29 +0000 (21:48 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 23 Jan 2018 22:25:26 +0000 (23:25 +0100)
commit07e6e9c9c1415385edf7fb6ad5f503b88db8b047
treed2fdc29598d90410e642dac27121552901bfd45f
parent6ba67b8152def148a87fdd6049e65956fb4656a9
[NTOSKRNL] When marking a BCB dirty, also mark the underlying VACB dirty.
Experiment and MSDN tend to show that a dirty BCB is queued for lazy write.
This will do the job here!

Also, renamed CcRosMarkDirtyFile() which is more accurate, and added a new
function CcRosMarkDirtyVacb() which just takes a VACB as arg (expected locked)
and marks it dirty (using previous implementation). Make CcRosMarkDirtyFile()
use it.

CORE-14235
ntoskrnl/cc/pin.c
ntoskrnl/cc/view.c
ntoskrnl/include/internal/cc.h
ntoskrnl/mm/section.c