mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 09:50:19 +00:00
Minor fix for ABORTed on SIRQ commands
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@88 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -924,7 +924,7 @@ out_unlock:
|
||||
if (!ha_locked)
|
||||
spin_unlock_irqrestore(&ha->hardware_lock, flags);
|
||||
|
||||
if (do_tgt_cmd_done) {
|
||||
if (do_tgt_cmd_done && !in_interrupt()) {
|
||||
msleep(250);
|
||||
scst_tgt_cmd_done(cmd->scst_cmd);
|
||||
/* !! At this point cmd could be already freed !! */
|
||||
|
||||
Reference in New Issue
Block a user