]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Introduce srp_handle_qp_err()
authorBart Van Assche <bvanassche@acm.org>
Sat, 3 Sep 2011 07:25:42 +0000 (09:25 +0200)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:30 +0000 (17:40 -0800)
commitcd07512d3623ca602eb7e9171115e068b37bca7f
tree0885938ace8cd28b82425ac98c0ab64e9c943792
parent489fec9c9361fcbb6703f3ca9d880054ddf24938
IB/srp: Introduce srp_handle_qp_err()

Introduce the function srp_handle_qp_err(), change the type of
qp_in_error from int into bool and move the initialization of that
variable from srp_reconnect_target() to srp_connect_target().

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