https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dd392b9d6c55dfdbdac62…
commit dd392b9d6c55dfdbdac622587a76a695f92b8184
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Feb 18 19:32:08 2018 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Feb 18 19:32:08 2018 +0100
[NTOSKRNL] Fix mismatching spinlock release in CcPerformReadAhead()
---
ntoskrnl/cc/copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/cc/copy.c b/ntoskrnl/cc/copy.c
index a3b1f887aa..a90734000e 100644
--- a/ntoskrnl/cc/copy.c
+++ b/ntoskrnl/cc/copy.c
@@ -597,7 +597,7 @@ Clear:
InterlockedAnd((volatile long *)&PrivateCacheMap->UlongFlags,
0xFFFEFFFF);
KeReleaseSpinLockFromDpcLevel(&PrivateCacheMap->ReadAheadSpinLock);
}
- KeReleaseSpinLock(&PrivateCacheMap->ReadAheadSpinLock, OldIrql);
+ KeReleaseQueuedSpinLock(LockQueueMasterLock, OldIrql);
/* If file was locked, release it */
if (Locked)