mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15: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
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue