mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[NTOSKRNL] Fix mismatching spinlock release in CcPerformReadAhead()
This commit is contained in:
parent
215e48d0bd
commit
dd392b9d6c
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ Clear:
|
||||||
InterlockedAnd((volatile long *)&PrivateCacheMap->UlongFlags, 0xFFFEFFFF);
|
InterlockedAnd((volatile long *)&PrivateCacheMap->UlongFlags, 0xFFFEFFFF);
|
||||||
KeReleaseSpinLockFromDpcLevel(&PrivateCacheMap->ReadAheadSpinLock);
|
KeReleaseSpinLockFromDpcLevel(&PrivateCacheMap->ReadAheadSpinLock);
|
||||||
}
|
}
|
||||||
KeReleaseSpinLock(&PrivateCacheMap->ReadAheadSpinLock, OldIrql);
|
KeReleaseQueuedSpinLock(LockQueueMasterLock, OldIrql);
|
||||||
|
|
||||||
/* If file was locked, release it */
|
/* If file was locked, release it */
|
||||||
if (Locked)
|
if (Locked)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue