mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Oops, the previous commit was wrong. Fix it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@89 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -924,8 +924,9 @@ out_unlock:
|
||||
if (!ha_locked)
|
||||
spin_unlock_irqrestore(&ha->hardware_lock, flags);
|
||||
|
||||
if (do_tgt_cmd_done && !in_interrupt()) {
|
||||
msleep(250);
|
||||
if (do_tgt_cmd_done) {
|
||||
if (!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