From: scameron@beardog.cca.cpqcorp.net Date: Mon, 8 Jun 2009 20:59:38 +0000 (-0500) Subject: cciss: Use schedule_timeout_uninterruptible in SCSI error handling code X-Git-Tag: v2.6.31-rc1~389^2~15 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=40df6ae4277a67e97aa0a8bd8e293fdbb00e5623;p=~emulex%2Finfiniband.git 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: Stephen M. Cameron Signed-off-by: Jens Axboe --- diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c index 2edfc9b644e..134fdf25d7f 100644 --- a/drivers/block/cciss_scsi.c +++ b/drivers/block/cciss_scsi.c @@ -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. */