diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
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) | |||
1497 | static void scsi_softirq_done(struct request *rq) | 1497 | static 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); |