cciss: Use schedule_timeout_uninterruptible in SCSI error handling code
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>
Mon, 8 Jun 2009 20:59:38 +0000 (15:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 9 Jun 2009 03:47:42 +0000 (05:47 +0200)
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 <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss_scsi.c

index 2edfc9b..134fdf2 100644 (file)
@@ -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. */