IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
commit80d5e8a235624cd3c0e24be7c070fd6f445e590d
authorBart Van Assche <bvanassche@acm.org>
Wed, 10 Jul 2013 15:36:35 +0000 (10 17:36 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 11 Jul 2013 23:43:48 +0000 (11 16:43 -0700)
tree428561212c996cf366e9571b9db2195f2f9810cf
parente8ca413558de8ea235a1223074c4ed09616b9034
IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline

If the transport layer is offline it is more appropriate to let
srp_abort() return FAST_IO_FAIL instead of SUCCESS.

Reported-by: Sebastian Riemer <sebastian.riemer@profitbricks.com>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c