From b35c83dbe252bf0064b12232a017b25161ff601b Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 30 Oct 2008 12:22:48 +0000 Subject: [PATCH] Fixes wrong sess_count decrement on session registration failure git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@549 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 64e4b6bb6..a0632dbc3 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -1460,9 +1460,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: