mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NTOSKRNL] Add an assert against VACB reference count overflow.
Very likely to be hit... CORE-14285
This commit is contained in:
parent
19fc20f222
commit
8dc4ac3692
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ static void CcRosVacbIncRefCount_(PROS_VACB vacb, const char* file, int line)
|
|||
}
|
||||
static void CcRosVacbDecRefCount_(PROS_VACB vacb, const char* file, int line)
|
||||
{
|
||||
ASSERT(vacb->ReferenceCount != 0);
|
||||
--vacb->ReferenceCount;
|
||||
ASSERT(!(vacb->ReferenceCount == 0 && vacb->Dirty));
|
||||
if (vacb->SharedCacheMap->Trace)
|
||||
|
|
Loading…
Reference in a new issue