mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Don't read uninitialized variables (was introduced in r2867).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3030 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1716,7 +1716,7 @@ static void scst_check_reassign_sess(struct scst_session *sess)
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
if (tgt_dev->sess->shut_phase != SCST_SESS_SPH_READY)
|
||||
if (sess->shut_phase != SCST_SESS_SPH_READY)
|
||||
goto out;
|
||||
|
||||
TRACE_MGMT_DBG("Checking reassignment for sess %p (initiator %s)",
|
||||
|
||||
Reference in New Issue
Block a user