IB/srp: Avoid having aborted requests hang
authorBart Van Assche <bvanassche@acm.org>
Fri, 24 Aug 2012 10:29:11 +0000 (10:29 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:19 +0000 (03:49 +0100)
commit0575df129e2eb4a801beae0e6e041787480f42b9
tree64482476716899183167950e664a09e72bb9eefb
parent6bfc0805e76ff5a2fd0e2b2f1bee777c38b0da1c
IB/srp: Avoid having aborted requests hang

commit d8536670916a685df116b5c2cb256573fd25e4e3 upstream.

We need to call scsi_done() for commands after we abort them.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/infiniband/ulp/srp/ib_srp.c