mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user