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)
commit948d1e889e5bd6ceffcc31db2beba39331087df3
tree0885938ace8cd28b82425ac98c0ab64e9c943792
parent224db157431299582a65fb9d4c9228363146f8a9
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