]> git.hungrycats.org Git - linux/commitdiff
Correct uninitialised timer in scsi_error.c
authorJames Bottomley <jejb@malley.(none)>
Sat, 22 Feb 2003 04:17:19 +0000 (22:17 -0600)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 22 Feb 2003 04:17:19 +0000 (22:17 -0600)
drivers/scsi/scsi_error.c

index 757a982ceb616dd1465217699900fb8d5f0c6b6d..198affa6659948669a0b2648f50d8241011e4b7a 100644 (file)
@@ -1740,6 +1740,8 @@ scsi_reset_provider(struct scsi_device *dev, int flag)
        scmd->sc_request                = NULL;
        scmd->sc_magic                  = SCSI_CMND_MAGIC;
 
+       init_timer(&scmd->eh_timeout);
+
        /*
         * Sometimes the command can get back into the timer chain,
         * so use the pid as an identifier.