]> 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)
commit9a3620cd031c6f59089948ac052e343001ff8eb2
tree428561212c996cf366e9571b9db2195f2f9810cf
parente1ea72d60d5798bb4aa1af86bef525d6bfee0c9c
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