mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 15:04:19 +00:00
task_mgmt_fn() callback now called under lock and IRQs disabled, so we
need to reschedule to thread during commands unjamming git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2256,7 +2256,7 @@ static void dev_user_unjam_cmd(struct scst_user_cmd *ucmd, int busy,
|
||||
}
|
||||
|
||||
ucmd->cmd->scst_cmd_done(ucmd->cmd, SCST_CMD_STATE_DEFAULT,
|
||||
SCST_CONTEXT_DIRECT);
|
||||
SCST_CONTEXT_THREAD);
|
||||
/* !! At this point cmd and ucmd can be already freed !! */
|
||||
|
||||
if (flags != NULL)
|
||||
|
||||
Reference in New Issue
Block a user