From 760b4a55b72c3edd5b6124e5727b6d7a8171e7f7 Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Wed, 10 Sep 2014 08:52:44 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5787 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/iser_rdma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/iscsi-scst/kernel/isert-scst/iser_rdma.c b/iscsi-scst/kernel/isert-scst/iser_rdma.c index cfd9b3648..9de2231cb 100644 --- a/iscsi-scst/kernel/isert-scst/iser_rdma.c +++ b/iscsi-scst/kernel/isert-scst/iser_rdma.c @@ -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);