mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08:00
[NTOSKRNL] In CcRosInternalFreeVacb(), in case of invalid free, also print file name.
CORE-14481 CORE-14480 CORE-14482
This commit is contained in:
@@ -939,6 +939,10 @@ CcRosInternalFreeVacb (
|
||||
if (Vacb->PinCount != 0 || Vacb->ReferenceCount != 0)
|
||||
{
|
||||
DPRINT1("Invalid free: %ld, %ld\n", Vacb->ReferenceCount, Vacb->PinCount);
|
||||
if (Vacb->SharedCacheMap->FileObject && Vacb->SharedCacheMap->FileObject->FileName.Length)
|
||||
{
|
||||
DPRINT1("For file: %wZ\n", &Vacb->SharedCacheMap->FileObject->FileName);
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT(Vacb->PinCount == 0);
|
||||
|
||||
Reference in New Issue
Block a user