mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Fix preliminary completion of reinstatement pending commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -558,7 +558,12 @@ void conn_reinst_finished(struct iscsi_conn *conn)
|
||||
reinst_pending_cmd_list_entry) {
|
||||
TRACE_MGMT_DBG("Restarting reinst pending cmnd %p",
|
||||
cmnd);
|
||||
|
||||
list_del(&cmnd->reinst_pending_cmd_list_entry);
|
||||
|
||||
/* Restore the state for preliminary completion/cmnd_done() */
|
||||
cmnd->scst_state = ISCSI_CMD_STATE_AFTER_PREPROC;
|
||||
|
||||
iscsi_restart_cmnd(cmnd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user