iser-target: Remove redundant call to isert_conn_terminate
We are calling session reinstatement, wait_conn will start connection termination. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
6f0fae3d77
commit
377d8f5c3e
|
@ -2038,10 +2038,6 @@ isert_cq_comp_err(struct isert_conn *isert_conn, struct ib_wc *wc)
|
|||
target_wait_for_sess_cmds(conn->sess->se_sess);
|
||||
}
|
||||
|
||||
mutex_lock(&isert_conn->conn_mutex);
|
||||
isert_conn_terminate(isert_conn);
|
||||
mutex_unlock(&isert_conn->conn_mutex);
|
||||
|
||||
iscsit_cause_connection_reinstatement(isert_conn->conn, 0);
|
||||
complete(&isert_conn->conn_wait_comp_err);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue