diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-12-02 16:57:42 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-12 23:32:30 -0800 |
commit | 377d8f5c3ef3e1b90db4e1f9faa01d0b0036ea52 (patch) | |
tree | 07ebdc7fe9fe575db0c77661980d504b75d14a5e | |
parent | 6f0fae3d7797172f5c30ada80e815122fdf55609 (diff) | |
download | op-kernel-dev-377d8f5c3ef3e1b90db4e1f9faa01d0b0036ea52.zip op-kernel-dev-377d8f5c3ef3e1b90db4e1f9faa01d0b0036ea52.tar.gz |
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>
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 0dc6287..5373a5f3 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -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); } |