IB/srp: Avoid having aborted requests hang
authorBart Van Assche <bvanassche@acm.org>
Fri, 24 Aug 2012 10:29:11 +0000 (10:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Oct 2012 15:35:57 +0000 (08:35 -0700)
commit39d6594c457c4728794cb4c3c7be53f93f1ef3ae
tree00bde2cd8a213fc39d883ae4acc6eb4e33dee61b
parent7bc5c2ef73f5e090c49f9439243aaf960133e58a
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/srp/ib_srp.c