reactos/drivers/usb/usbstor
Justin Miller a65b6ae946
[USBSTOR] Don't assert on clean up if initization didnt finish (#7412)
During investigation into some of the USB stack issues we've been running into I've found that when a USB storage device is already plugged in during boot and removed before it finishes initialization we run into this assert.

The logic in this function removes the pools made for the following entries in DeviceExtension indiscriminately this makes debugging a bit more difficult. Instead of depending on this behavior of ALWAYS being filled with valid data, let's free the following pools ONLY if they're initialized. This change prevents us from bugchecking when USB flash drives are removed early during boot. This makes the debugging experience a little more sane.
2024-10-02 23:21:50 +02:00
..
CMakeLists.txt [USBSTOR] General refactoring. 2020-06-12 16:55:27 +03:00
descriptor.c [USBSTOR] Fix PdoHandleQueryInstanceId and increase serial number descriptor size to MAXIMUM_USB_STRING_LENGTH (#6413) 2024-02-16 18:48:33 +03:00
disk.c [USBSTOR] Remove workarounds for old storage stack 2020-12-06 23:32:29 +03:00
error.c [USBSTOR] Move PDO's Inquiry data and FDO's SCSI context 2020-06-12 16:55:27 +03:00
fdo.c [USBSTOR] Don't assert on clean up if initization didnt finish (#7412) 2024-10-02 23:21:50 +02:00
guid.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
misc.c [BDASUP][PORTCLS][SYSAUDIO][USB] Use ExAllocatePoolZero() and ExFreePoolWithTag() (#5811) 2023-10-23 18:16:59 +02:00
pdo.c [USBSTOR] Fix PdoHandleQueryInstanceId and increase serial number descriptor size to MAXIMUM_USB_STRING_LENGTH (#6413) 2024-02-16 18:48:33 +03:00
queue.c [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
scsi.c [USBSTOR] Fix unused variable introduced in 94e61c3 2020-06-13 03:20:08 +03:00
usbstor.c [USBSTOR] Register dumb IRP_MJ_SYSTEM_CONTROL handler. 2019-06-11 04:39:43 +03:00
usbstor.h [USBSTOR] Fix PdoHandleQueryInstanceId and increase serial number descriptor size to MAXIMUM_USB_STRING_LENGTH (#6413) 2024-02-16 18:48:33 +03:00
usbstor.inf [INF] Set manufacturer as ReactOS Project for consistency 2022-06-27 17:00:18 +03:00
usbstor.rc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00