mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -168,10 +168,11 @@ USBSTOR_HandleInternalDeviceControl(
|
||||
break;
|
||||
}
|
||||
|
||||
case SRB_FUNCTION_SHUTDOWN:
|
||||
case SRB_FUNCTION_FLUSH:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user