Commit 9efb9d2e authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

Correct uninitialised timer in scsi_error.c

parent 3a8764c2
...@@ -1740,6 +1740,8 @@ scsi_reset_provider(struct scsi_device *dev, int flag) ...@@ -1740,6 +1740,8 @@ scsi_reset_provider(struct scsi_device *dev, int flag)
scmd->sc_request = NULL; scmd->sc_request = NULL;
scmd->sc_magic = SCSI_CMND_MAGIC; scmd->sc_magic = SCSI_CMND_MAGIC;
init_timer(&scmd->eh_timeout);
/* /*
* Sometimes the command can get back into the timer chain, * Sometimes the command can get back into the timer chain,
* so use the pid as an identifier. * so use the pid as an identifier.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment