mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
[NTOSKRNL] In CcRosInternalFreeVacb(), in case of invalid free, also print file name.
CORE-14481 CORE-14480 CORE-14482
This commit is contained in:
parent
2fbba22789
commit
2a0e996c9d
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue