ocfs2: Misplaced parens in unlikley
authorroel <[email protected]>
Mon, 12 Dec 2011 22:40:51 +0000 (23:40 +0100)
committerJoel Becker <[email protected]>
Wed, 4 Jul 2012 06:27:13 +0000 (23:27 -0700)
Fix misplaced parentheses

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
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);
        }