Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311701
b: refs/heads/master
c: 16865b7
h: refs/heads/master
i:
  311699: ee587d6
v: v3
  • Loading branch information
roel authored and Joel Becker committed Jul 4, 2012
1 parent 49627bf commit 12f3784
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: 3e5d3c35a68c9a933bdbdd8685bd1a205b57e806
refs/heads/master: 16865b7c42fbce8a4d2b278460e387e719e289cb
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/dlmglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ static void ocfs2_update_lock_stats(struct ocfs2_lock_res *res, int level,
stats->ls_gets++;
stats->ls_total += ktime_to_ns(kt);
/* overflow */
if (unlikely(stats->ls_gets) == 0) {
if (unlikely(stats->ls_gets == 0)) {
stats->ls_gets++;
stats->ls_total = ktime_to_ns(kt);
}
Expand Down

0 comments on commit 12f3784

Please sign in to comment.