diff options
author | scameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net> | 2009-06-09 00:59:38 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-09 07:47:42 +0400 |
commit | 40df6ae4277a67e97aa0a8bd8e293fdbb00e5623 (patch) | |
tree | b01607c1893c23138c85cd80d5f7144e4ffe471d /drivers/block | |
parent | dbb66c4be020b01dc2f3d7c609ddb0e09d2c0af7 (diff) | |
download | linux-40df6ae4277a67e97aa0a8bd8e293fdbb00e5623.tar.xz |
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.c | 2 |
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. */ |