[NTOSKRNL] Don't set VACB dirty on release if already dirty

CORE-15954
This commit is contained in:
Pierre Schweitzer 2019-04-20 11:23:35 +02:00
parent c714b7fd67
commit 77b6899d89
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -1138,7 +1138,7 @@ CcFlushCache (
}
}
CcRosReleaseVacb(SharedCacheMap, current, current->Valid, current->Dirty, FALSE);
CcRosReleaseVacb(SharedCacheMap, current, current->Valid, FALSE, FALSE);
}
Offset.QuadPart += VACB_MAPPING_GRANULARITY;