aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorroel <roel.kluin@gmail.com>2011-12-12 23:40:51 +0100
committerJoel Becker <jlbec@evilplan.org>2012-07-03 23:27:13 -0700
commit16865b7c42fbce8a4d2b278460e387e719e289cb (patch)
tree143be668183c248d4b4108be94ac69d2a94fce89 /fs/ocfs2
parent3e5d3c35a68c9a933bdbdd8685bd1a205b57e806 (diff)
ocfs2: Misplaced parens in unlikley
Fix misplaced parentheses Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/dlmglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index 81a4cd22f80..274529cce9c 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -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);
}