]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline
authorBart Van Assche <bvanassche@acm.org>
Wed, 10 Jul 2013 15:36:35 +0000 (17:36 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 11 Jul 2013 23:43:48 +0000 (16:43 -0700)
commit47edf3a2b55bdf76d11daf06bee0fa1d4c145af9
tree428561212c996cf366e9571b9db2195f2f9810cf
parent646a1e212d7e5cef07d774a9ad8a0405cad0b48e
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