projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
215e48d
)
[NTOSKRNL] Fix mismatching spinlock release in CcPerformReadAhead()
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 18 Feb 2018 18:32:08 +0000
(19:32 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 18 Feb 2018 18:32:08 +0000
(19:32 +0100)
ntoskrnl/cc/copy.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/cc/copy.c
b/ntoskrnl/cc/copy.c
index
a3b1f88
..
a907340
100644
(file)
--- a/
ntoskrnl/cc/copy.c
+++ b/
ntoskrnl/cc/copy.c
@@
-597,7
+597,7
@@
Clear:
InterlockedAnd((volatile long *)&PrivateCacheMap->UlongFlags, 0xFFFEFFFF);
KeReleaseSpinLockFromDpcLevel(&PrivateCacheMap->ReadAheadSpinLock);
}
- KeRelease
SpinLock(&PrivateCacheMap->ReadAheadSpin
Lock, OldIrql);
+ KeRelease
QueuedSpinLock(LockQueueMaster
Lock, OldIrql);
/* If file was locked, release it */
if (Locked)