From a2fb8cc40c971e6aca95bbfe877dcacf4c2df1a2 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 30 Oct 2008 12:26:42 +0000 Subject: [PATCH] Merge of r549: Fixes wrong sess_count decrement on session registration failure. Thanks to Gal Rosen for pointing on it git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.0.x@550 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/qla2x00t.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index b37897cf0..2888cb886 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -1464,9 +1464,6 @@ out: out_free_sess: kfree(sess); - tgt->sess_count--; - if (tgt->sess_count == 0) - wake_up_all(&tgt->waitQ); /* go through */ out_free_cmd: