- Fix a bug when canceling irps

svn path=/trunk/; revision=43344
This commit is contained in:
Johannes Anderwald 2009-10-09 16:48:41 +00:00
parent d64568f5ff
commit 0a8a0cd78d

View file

@ -1690,7 +1690,7 @@ KsCancelRoutine(
RemoveEntryList(&Irp->Tail.Overlay.ListEntry);
/* release spinlock */
KeReleaseSpinLockFromDpcLevel(SpinLock);
KeReleaseSpinLock(SpinLock, Irp->CancelIrql);
/* has the irp already been canceled */
if (Irp->IoStatus.Status != STATUS_CANCELLED)