summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>2009-06-08 15:59:38 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-06-09 05:47:42 +0200
commit40df6ae4277a67e97aa0a8bd8e293fdbb00e5623 (patch)
treeb01607c1893c23138c85cd80d5f7144e4ffe471d /drivers
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')
-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,
/* 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. */