diff options
author | Matthew Dharm <mdharm-usb@one-eyed-alien.net> | 2005-08-25 20:03:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-12 12:23:50 -0700 |
commit | 226173edae1c49c68ebb723771a02302c85e3475 (patch) | |
tree | f1cad01bb076253a9fbb0ef29ddb688b6743ea82 /Documentation/x86_64 | |
parent | b789696af8b4102b7cc26dec30c2c51ce51ee18b (diff) |
[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>
Diffstat (limited to 'Documentation/x86_64')
0 files changed, 0 insertions, 0 deletions