mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:53:06 +00:00
[USBSTOR]
- Don't flush srb queue because the storage stack is not ready for it yet - Fixes crash during shutdown svn path=/trunk/; revision=57617
This commit is contained in:
parent
b1002c5e57
commit
8226ec4807
1 changed files with 3 additions and 1 deletions
|
@ -174,11 +174,13 @@ USBSTOR_HandleInternalDeviceControl(
|
||||||
{
|
{
|
||||||
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE / SRB_FUNCTION_SHUTDOWN\n");
|
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE / SRB_FUNCTION_SHUTDOWN\n");
|
||||||
|
|
||||||
|
// HACK: don't flush pending requests
|
||||||
|
#if 0 // we really need a proper storage stack
|
||||||
//
|
//
|
||||||
// wait for pending requests to finish
|
// wait for pending requests to finish
|
||||||
//
|
//
|
||||||
USBSTOR_QueueWaitForPendingRequests(PDODeviceExtension->LowerDeviceObject);
|
USBSTOR_QueueWaitForPendingRequests(PDODeviceExtension->LowerDeviceObject);
|
||||||
|
#endif
|
||||||
//
|
//
|
||||||
// set status success
|
// set status success
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue