IB/srp: Avoid having aborted requests hang
authorBart Van Assche <bvanassche@acm.org>
Fri, 24 Aug 2012 10:29:11 +0000 (10:29 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:36:48 +0000 (20:36 -0700)
commitd8536670916a685df116b5c2cb256573fd25e4e3
tree5b5bf699030e19d41108f08a2fe79263a32a1904
parent9b796d06d5d1b1e85ae2316a283ea11dd739ef96
IB/srp: Avoid having aborted requests hang

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c