aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>2009-06-08 16:59:38 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-06-08 23:47:42 -0400
commit40df6ae4277a67e97aa0a8bd8e293fdbb00e5623 (patch)
treeb01607c1893c23138c85cd80d5f7144e4ffe471d /drivers/block
parentdbb66c4be020b01dc2f3d7c609ddb0e09d2c0af7 (diff)
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 <scameron@beardog.cca.cpqcorp.net> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/cciss_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c
index 2edfc9b644eb..134fdf25d7f4 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,
1608 /* Wait for a bit. do this first, because if we send 1608 /* Wait for a bit. do this first, because if we send
1609 * the TUR right away, the reset will just abort it. 1609 * the TUR right away, the reset will just abort it.
1610 */ 1610 */
1611 schedule_timeout_interruptible(waittime); 1611 schedule_timeout_uninterruptible(waittime);
1612 count++; 1612 count++;
1613 1613
1614 /* Increase wait time with each try, up to a point. */ 1614 /* Increase wait time with each try, up to a point. */