mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Revert double spinlock releasing introduced by 26242 (but thanks for fixing DPRINT :) ).
svn path=/trunk/; revision=26243
This commit is contained in:
@@ -2426,7 +2426,9 @@ ScsiPortDispatchScsi(IN PDEVICE_OBJECT DeviceObject,
|
||||
{
|
||||
/* Get next logical unit request */
|
||||
SpiGetNextRequestFromLun(DeviceExtension, LunExtension);
|
||||
KeReleaseSpinLock(&DeviceExtension->SpinLock, Irql);
|
||||
|
||||
/* SpiGetNextRequestFromLun() releases the spinlock */
|
||||
KeLowerIrql(Irql);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3071,8 +3073,9 @@ SpiSendInquiry (IN PDEVICE_OBJECT DeviceObject,
|
||||
/* Process the request */
|
||||
SpiGetNextRequestFromLun(DeviceObject->DeviceExtension, LunExtension);
|
||||
|
||||
/* Release spinlock */
|
||||
KeReleaseSpinLock(&DeviceExtension->SpinLock, Irql);
|
||||
/* SpiGetNextRequestFromLun() releases the spinlock,
|
||||
so we just lower irql back to what it was before */
|
||||
KeLowerIrql(Irql);
|
||||
}
|
||||
|
||||
/* Check if data overrun happened */
|
||||
|
||||
Reference in New Issue
Block a user