scst: Add a comment in scst_global_mgmt_thread()

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4482 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-08-27 21:10:09 +00:00
parent eb4f05aafe
commit 481c90a66b
+7 -2
View File
@@ -6821,9 +6821,14 @@ int scst_global_mgmt_thread(void *arg)
list_del(&sess->sess_init_list_entry);
spin_unlock_irq(&scst_mgmt_lock);
if (sess->init_phase == SCST_SESS_IPH_INITING)
if (sess->init_phase == SCST_SESS_IPH_INITING) {
/*
* Note: it's not necessary to free the session
* here if initialization fails. See also the
* comment block above scst_register_session().
*/
scst_init_session(sess);
else {
} else {
PRINT_CRIT_ERROR("session %p is in "
"scst_sess_init_list, but in unknown "
"init phase %x", sess,