[NTOSKRNL] Set the MemoryMaker flag when executing write behind

This commit is contained in:
Pierre Schweitzer 2018-12-23 14:59:42 +01:00
parent 7e97071c8b
commit e16241255d
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -307,7 +307,9 @@ CcWorkerThread(
break;
case WriteBehind:
PsGetCurrentThread()->MemoryMaker = 1;
CcWriteBehind();
PsGetCurrentThread()->MemoryMaker = 0;
WritePerformed = TRUE;
break;