Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213165
b: refs/heads/master
c: 2265769
h: refs/heads/master
i:
  213163: 41f7f20
v: v3
  • Loading branch information
Dan Carpenter authored and Philipp Reisner committed Oct 14, 2010
1 parent 0566557 commit bced961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca0e6098aad127a555ba29d12e0503dbb1577aac
refs/heads/master: 2265769531afe267f864111c103b04b4427720b6
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void drbd_syncer_progress(struct drbd_conf *mdev, struct seq_file *seq)
/* mean speed since syncer started
* we do account for PausedSync periods */
dt = (jiffies - mdev->rs_start - mdev->rs_paused) / HZ;
if (dt <= 0)
if (dt == 0)
dt = 1;
db = mdev->rs_total - rs_left;
dbdt = Bit2KB(db/dt);
Expand Down

0 comments on commit bced961

Please sign in to comment.