Explorar o código

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>
roel %!s(int64=14) %!d(string=hai) anos
pai
achega
16865b7c42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/ocfs2/dlmglue.c

+ 1 - 1
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);
 	}