linux_dsm_epyc7002/drivers/usb/storage
Matthew Dharm 226173edae [PATCH] USB: storage: Fix messed-up locking
This is patch as550 from Alan Stern.

Apparently someone changed the SCSI core so that it no longer holds the
host lock when doing a device or bus reset.  usb-storage was updated at
the time, but the change was done carelessly.  Some of the code depends
on that lock being held.

This patch reintroduces the host lock where needed and tries to clarify
the comments explaining why the lock is necessary.  It also moves the
code that clears the TIMED_OUT and ABORTING bitflags so that it executes
as soon as the timed-out command has completed (and while the host lock
is held).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-12 12:23:50 -07:00
..
datafab.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
datafab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c [PATCH] USB Storage: fix compile error 2005-05-03 23:31:49 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initializers.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initializers.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isd200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isd200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
Makefile [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
onetouch.c [PATCH] USB Storage: code cleanups for onetouch.c 2005-09-08 16:30:33 -07:00
onetouch.h [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
protocol.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
protocol.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsiglue.c [PATCH] USB: storage: Fix messed-up locking 2005-09-12 12:23:50 -07:00
scsiglue.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
sddr09.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sddr09.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sddr55.c [PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL 2005-04-18 17:39:34 -07:00
sddr55.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shuttle_usbat.c [PATCH] USB: Fix HP8200 detection in shuttle_usbat 2005-09-08 16:28:18 -07:00
shuttle_usbat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
transport.c [PATCH] USB: URB_ASYNC_UNLINK flag removed from the kernel 2005-09-08 16:23:04 -07:00
transport.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
unusual_devs.h [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
usb.c [PATCH] USB: storage: Fix messed-up locking 2005-09-12 12:23:50 -07:00
usb.h [PATCH] USB Storage: remove dependency on SCSI-provided serial/tag number 2005-09-08 16:22:54 -07:00