mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
[USBSTOR]
- Handle SRB_FUNCTION_SHUTDOWN successfully (failing it results in a stack overflow due to a bug in disk.sys) - Fixes the crash during shutdown after using a USB drive svn path=/branches/usb-bringup-trunk/; revision=55315
This commit is contained in:
parent
f740e9241e
commit
2b79f855e1
|
@ -168,10 +168,11 @@ USBSTOR_HandleInternalDeviceControl(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case SRB_FUNCTION_SHUTDOWN:
|
||||||
case SRB_FUNCTION_FLUSH:
|
case SRB_FUNCTION_FLUSH:
|
||||||
case SRB_FUNCTION_FLUSH_QUEUE:
|
case SRB_FUNCTION_FLUSH_QUEUE:
|
||||||
{
|
{
|
||||||
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE\n");
|
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE / SRB_FUNCTION_SHUTDOWN\n");
|
||||||
|
|
||||||
//
|
//
|
||||||
// flush all requests
|
// flush all requests
|
||||||
|
|
Loading…
Reference in a new issue