Skip to content

Commit dd392b9

Browse files
committed
[NTOSKRNL] Fix mismatching spinlock release in CcPerformReadAhead()
1 parent 215e48d commit dd392b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ntoskrnl/cc/copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ CcPerformReadAhead(
597597
InterlockedAnd((volatile long *)&PrivateCacheMap->UlongFlags, 0xFFFEFFFF);
598598
KeReleaseSpinLockFromDpcLevel(&PrivateCacheMap->ReadAheadSpinLock);
599599
}
600-
KeReleaseSpinLock(&PrivateCacheMap->ReadAheadSpinLock, OldIrql);
600+
KeReleaseQueuedSpinLock(LockQueueMasterLock, OldIrql);
601601

602602
/* If file was locked, release it */
603603
if (Locked)

0 commit comments

Comments
 (0)