linux-stable/drivers/block/drbd
Dan Carpenter 2265769531 drbd: cleanup: change "<= 0" to "== 0"
dt is unsigned so it's never less than zero.  We are calculating the
elapsed time, and that's never less than zero (unless there is a bug or
we invent time travel).  The comparison here is just to guard against
divide by zero bugs.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
2010-10-14 19:17:23 +02:00
..
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00
drbd_actlog.c drbd: reduce code duplication when receiving data requests 2010-10-14 18:38:19 +02:00
drbd_bitmap.c drbd: Disable activity log updates when the whole device is out of sync 2010-10-14 18:38:26 +02:00
drbd_int.h drbd: fix for possible deadlock on IO error during resync 2010-10-14 18:38:50 +02:00
drbd_main.c drbd: relax the grace period of the md_sync timer again 2010-10-14 19:15:38 +02:00
drbd_nl.c drbd: cleanup useless leftover warn/error printk's 2010-10-14 18:38:53 +02:00
drbd_proc.c drbd: cleanup: change "<= 0" to "== 0" 2010-10-14 19:17:23 +02:00
drbd_receiver.c drbd: add some more explicit drbd_md_sync 2010-10-14 19:08:58 +02:00
drbd_req.c drbd: Track the reasons to suspend IO in dedicated state bits 2010-10-14 18:38:40 +02:00
drbd_req.h drbd: Disable activity log updates when the whole device is out of sync 2010-10-14 18:38:26 +02:00
drbd_strings.c drbd: don't start a resync without access to up-to-date Data 2010-05-18 01:08:18 +02:00
drbd_vli.h The DRBD driver 2009-10-01 21:17:49 +02:00
drbd_worker.c drbd: add explicit drbd_md_sync to drbd_resync_finished 2010-10-14 18:38:52 +02:00
drbd_wrappers.h drbd: Allow drbd_epoch_entries to use multiple bios. 2010-05-18 02:01:23 +02:00