mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[NTOS:CC] Fix locking of CcRosVacbIncRefCount in CcRosCreateVacb (#5527)
CORE-17624
This commit is contained in:
parent
2c9c634a8e
commit
e6ca3952e0
1 changed files with 2 additions and 1 deletions
|
@ -776,11 +776,12 @@ CcRosCreateVacb (
|
||||||
}
|
}
|
||||||
KeReleaseSpinLockFromDpcLevel(&SharedCacheMap->CacheMapLock);
|
KeReleaseSpinLockFromDpcLevel(&SharedCacheMap->CacheMapLock);
|
||||||
InsertTailList(&VacbLruListHead, ¤t->VacbLruListEntry);
|
InsertTailList(&VacbLruListHead, ¤t->VacbLruListEntry);
|
||||||
KeReleaseQueuedSpinLock(LockQueueMasterLock, oldIrql);
|
|
||||||
|
|
||||||
/* Reference it to allow release */
|
/* Reference it to allow release */
|
||||||
CcRosVacbIncRefCount(current);
|
CcRosVacbIncRefCount(current);
|
||||||
|
|
||||||
|
KeReleaseQueuedSpinLock(LockQueueMasterLock, oldIrql);
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue