mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 06:51:22 +00:00
- 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:
parent
03c3603a3d
commit
c7ed95cb55
1 changed files with 5 additions and 1 deletions
|
@ -2894,8 +2894,12 @@ ScsiPortStartIo(IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Release the spinlock only */
|
||||||
KeReleaseSpinLockFromDpcLevel(&DeviceExtension->SpinLock);
|
KeReleaseSpinLockFromDpcLevel(&DeviceExtension->SpinLock);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
DPRINT("ScsiPortStartIo() done\n");
|
DPRINT("ScsiPortStartIo() done\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue