mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
isert: Fix deadlock that can be caused by calling flush_workqueue() from within that same workqueue
We no longer need to do flush of the workqueue, since we cleanup when all flushes are done now Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1073,8 +1073,6 @@ static void isert_kref_free(struct kref *kref)
|
||||
|
||||
pr_info("isert_conn_free conn:%p\n", isert_conn);
|
||||
|
||||
flush_workqueue(isert_conn->cq_desc->cq_workqueue);
|
||||
|
||||
isert_free_conn_resources(isert_conn);
|
||||
|
||||
isert_conn_qp_destroy(isert_conn);
|
||||
|
||||
Reference in New Issue
Block a user