Merge of r549: Fixes wrong sess_count decrement on session registration failure. Thanks to Gal Rosen <galr@storwize.com> 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
This commit is contained in:
Vladislav Bolkhovitin
2008-10-30 12:26:42 +00:00
parent 52aa20c1de
commit a2fb8cc40c

View File

@@ -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: