]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ocfs2: Misplaced parens in unlikley
authorroel <roel.kluin@gmail.com>
Mon, 12 Dec 2011 22:40:51 +0000 (23:40 +0100)
committerJoel Becker <jlbec@evilplan.org>
Wed, 4 Jul 2012 06:27:13 +0000 (23:27 -0700)
Fix misplaced parentheses

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/dlmglue.c

index 81a4cd22f80be84a06eac2b0fbf4348385d76262..274529cce9c61354309ff91b1ccc3c183b817573 100644 (file)
@@ -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);
        }