mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[NTOS:CC] CcFlushCache: Call CcRosReleaseVacb when CcRosFlushVacb fails
CcRosLookupVacb adds a refcount.
This commit is contained in:
parent
71197535a1
commit
0899f4b2b1
1 changed files with 1 additions and 0 deletions
|
@ -1160,6 +1160,7 @@ CcFlushCache (
|
||||||
Status = CcRosFlushVacb(vacb, &VacbIosb);
|
Status = CcRosFlushVacb(vacb, &VacbIosb);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
CcRosReleaseVacb(SharedCacheMap, vacb, FALSE, FALSE);
|
||||||
goto quit;
|
goto quit;
|
||||||
}
|
}
|
||||||
DirtyVacb = TRUE;
|
DirtyVacb = TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue