aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-14 15:18:01 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-14 15:18:01 -0500
commitf33b5d783b4f56be5ace6a1c98fb5f76b2d2d07d (patch)
treeb027b5f3429d416b3da5b9195024007dab062a5e /drivers/scsi/scsi_lib.c
parente935d5da8e5d12fabe5b632736c50eae0427e8c8 (diff)
parent67963132638e67ad3c5aa16765e6f3f2f3cdd85c (diff)
Merge ../linux-2.6
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 3042520c413c..9a05076f9cf4 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1497,7 +1497,7 @@ static void scsi_kill_request(struct request *req, request_queue_t *q)
1497static void scsi_softirq_done(struct request *rq) 1497static void scsi_softirq_done(struct request *rq)
1498{ 1498{
1499 struct scsi_cmnd *cmd = rq->completion_data; 1499 struct scsi_cmnd *cmd = rq->completion_data;
1500 unsigned long wait_for = cmd->allowed * cmd->timeout_per_command; 1500 unsigned long wait_for = (cmd->allowed + 1) * cmd->timeout_per_command;
1501 int disposition; 1501 int disposition;
1502 1502
1503 INIT_LIST_HEAD(&cmd->eh_entry); 1503 INIT_LIST_HEAD(&cmd->eh_entry);