IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
authorBart Van Assche <[email protected]>
Wed, 10 Jul 2013 15:36:35 +0000 (17:36 +0200)
committerRoland Dreier <[email protected]>
Thu, 11 Jul 2013 23:43:48 +0000 (16:43 -0700)
commit80d5e8a235624cd3c0e24be7c070fd6f445e590d
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 <[email protected]>
Acked-by: David Dillow <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
drivers/infiniband/ulp/srp/ib_srp.c