提交 40df6ae4 编写于 作者: S scameron@beardog.cca.cpqcorp.net 提交者: Jens Axboe

cciss: Use schedule_timeout_uninterruptible in SCSI error handling code

Use schedule_timeout_uninterruptible instead of schedule_timeout in the
scsi error handling code when waiting between TUR polls since we are not
interested in nor want to be interrupted by signals.
Signed-off-by: NStephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 dbb66c4b
......@@ -1608,7 +1608,7 @@ static int wait_for_device_to_become_ready(ctlr_info_t *h,
/* Wait for a bit. do this first, because if we send
* the TUR right away, the reset will just abort it.
*/
schedule_timeout_interruptible(waittime);
schedule_timeout_uninterruptible(waittime);
count++;
/* Increase wait time with each try, up to a point. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册