commit | 5d390403fee54a64c660b7d42f7b38d99a486b88 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Nov 30 11:54:43 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 11 12:14:18 2013 -0800 |
tree | 7996e8239e7ae1a6188dd24a5e0a0c5a1f7469b1 | |
parent | efefecf33adefcd28edfd3cee282aa9cbc3374ca [diff] |
uas: improve abort handler Two changes. First we check whenever the request is linked in the work list and if so take it out. Second check whenever the command is actually in flight before asking the device to cancel it via task management, and in case it isn't just zap the data urbs and finish it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>