Author: janderwald Date: Thu Oct 25 17:17:25 2012 New Revision: 57617
URL: http://svn.reactos.org/svn/reactos?rev=57617&view=rev Log: [USBSTOR] - Don't flush srb queue because the storage stack is not ready for it yet - Fixes crash during shutdown
Modified: trunk/reactos/drivers/usb/usbstor/disk.c
Modified: trunk/reactos/drivers/usb/usbstor/disk.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/disk.c?... ============================================================================== --- trunk/reactos/drivers/usb/usbstor/disk.c [iso-8859-1] (original) +++ trunk/reactos/drivers/usb/usbstor/disk.c [iso-8859-1] Thu Oct 25 17:17:25 2012 @@ -174,11 +174,13 @@ { 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 // USBSTOR_QueueWaitForPendingRequests(PDODeviceExtension->LowerDeviceObject); - +#endif // // set status success //