projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0fae3
)
iser-target: Remove redundant call to isert_conn_terminate
author
Sagi Grimberg
<sagig@mellanox.com>
Tue, 2 Dec 2014 14:57:42 +0000
(16:57 +0200)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Sat, 13 Dec 2014 07:32:30 +0000
(23:32 -0800)
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>
drivers/infiniband/ulp/isert/ib_isert.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/isert/ib_isert.c
b/drivers/infiniband/ulp/isert/ib_isert.c
index 0dc6287a50f005ec08605671d13956cf72de3b40..5373a5f3a8a56d4a6961e5d04fa8c2cd3b081248 100644
(file)
--- 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);
}