[NTOS:CC] CcFlushCache: Call CcRosReleaseVacb when CcRosFlushVacb fails

CcRosLookupVacb adds a refcount.
This commit is contained in:
Thamatip Chitpong 2024-06-28 21:16:14 +07:00
parent 71197535a1
commit 0899f4b2b1

View file

@ -1160,6 +1160,7 @@ CcFlushCache (
Status = CcRosFlushVacb(vacb, &VacbIosb);
if (!NT_SUCCESS(Status))
{
CcRosReleaseVacb(SharedCacheMap, vacb, FALSE, FALSE);
goto quit;
}
DirtyVacb = TRUE;