- Patch by Cameron Gutman aicommander <at> gmail <dot> com

- Don't release the device spinlock twice if KeSynchronizeExecution returns false
See issue #3520 for more details.

svn path=/trunk/; revision=34564
This commit is contained in:
Stefan Ginsberg 2008-07-17 14:43:36 +00:00
parent 03c3603a3d
commit c7ed95cb55

View file

@ -2894,8 +2894,12 @@ ScsiPortStartIo(IN PDEVICE_OBJECT DeviceObject,
IoCompleteRequest(Irp, IO_NO_INCREMENT);
}
else
{
/* Release the spinlock only */
KeReleaseSpinLockFromDpcLevel(&DeviceExtension->SpinLock);
}
KeReleaseSpinLockFromDpcLevel(&DeviceExtension->SpinLock);
DPRINT("ScsiPortStartIo() done\n");
}