aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-08-11 22:38:45 +0000
committerPhilipp Reisner <[email protected]>2010-10-14 17:17:23 +0000
commit2265769531afe267f864111c103b04b4427720b6 (patch)
treeda90c3ce2cb64b75288b7e2da600d3f9b9b5d5c4 /fs/jbd/commit.c
parentdrbd: relax the grace period of the md_sync timer again (diff)
downloadkernel-2265769531afe267f864111c103b04b4427720b6.tar.gz
kernel-2265769531afe267f864111c103b04b4427720b6.zip
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 <[email protected]> Signed-off-by: Philipp Reisner <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions