mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
I suggest the attached patch for the issue of disabling target mode while I/O. Fix BUG in qla target. Set ha->tgt to NULL in wrong place (when disabling target mode). This cause to unfinished commands, and the echo command to disabling the target mode to stuck. scst_tgt_cmd_done never called because the ha->tgt was set to NULL before it should be. ha->tgt already set to NULL in q2t_target_release after all task managements finished and all commands were cleaned, so the fix just remove the set from q2t_host_action. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@984 d57e44dd-8a1f-0410-8b47-8ef2f437770f