From: Gerd Hoffmann Date: Tue, 19 Jun 2012 07:54:50 +0000 (+0200) Subject: uas: fix sense urb handling X-Git-Tag: v3.6-rc1~101^2~53^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bd7e1a2d34de3b0991c81080d56dc408110833;p=pandora-kernel.git uas: fix sense urb handling Stop reusing sense urbs, just allocate a fresh one each time and free it when done. Stop storing a sense urb pointer in the scsi request, all you can do with it is misusing. For example requeuing the sense urb, then f*ck it up by picking the wrong one in case tagged requests don't finish in the same order you've submitted them. Also note that (not-yet supported) task management ops don't have a scsi request in the first place. Signed-off-by: Gerd Hoffmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed