patch-2.1.131 linux/drivers/scsi/scsi_obsolete.c
Next file: linux/drivers/sound/sb_common.c
Previous file: linux/drivers/scsi/ncr53c8xx.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Nov 29 10:40:31 1998
- Orig file:
v2.1.130/linux/drivers/scsi/scsi_obsolete.c
- Orig date:
Sun Nov 8 14:03:02 1998
diff -u --recursive --new-file v2.1.130/linux/drivers/scsi/scsi_obsolete.c linux/drivers/scsi/scsi_obsolete.c
@@ -607,10 +607,9 @@
if ((++SCpnt->retries) < SCpnt->allowed)
{
if ((SCpnt->retries >= (SCpnt->allowed >> 1))
- /* FIXME: last_reset == 0 is allowed
- * && !(SCpnt->host->last_reset > 0 */ &&
- time_before(jiffies, SCpnt->host->last_reset
- + MIN_RESET_PERIOD)
+ /* FIXME: last_reset == 0 is allowed */
+ && time_after(jiffies, SCpnt->host->last_reset
+ + MIN_RESET_PERIOD)
&& !(SCpnt->flags & WAS_RESET))
{
printk("scsi%d channel %d : resetting for second half of retries.\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov