[NTOSKRNL] Fix mismatching spinlock release in CcPerformReadAhead()

This commit is contained in:
Pierre Schweitzer 2018-02-18 19:32:08 +01:00
parent 215e48d0bd
commit dd392b9d6c
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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)