patch-2.4.21 linux-2.4.21/drivers/scsi/gdth_proc.c
Next file: linux-2.4.21/drivers/scsi/hosts.c
Previous file: linux-2.4.21/drivers/scsi/gdth.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:36.000000000 -0700
- Orig file:
linux-2.4.20/drivers/scsi/gdth_proc.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/scsi/gdth_proc.c linux-2.4.21/drivers/scsi/gdth_proc.c
@@ -1464,7 +1464,7 @@
timer_table[SCSI_TIMER].expires = jiffies + timeout;
timer_active |= 1 << SCSI_TIMER;
} else {
- if (time_before(jiffies + timeout, timer_table[SCSI_TIMER].expires))
+ if (time_before(jiffies + timeout < timer_table[SCSI_TIMER].expires))
timer_table[SCSI_TIMER].expires = jiffies + timeout;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)