From: roel Date: Mon, 12 Dec 2011 22:40:51 +0000 (+0100) Subject: ocfs2: Misplaced parens in unlikley X-Git-Tag: v2.6.39-400.9.0~339^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fc257b7c9cda873293941c3464d3ccea269ff5a4;p=users%2Fjedix%2Flinux-maple.git ocfs2: Misplaced parens in unlikley Fix misplaced parentheses Signed-off-by: Roel Kluin Signed-off-by: Joel Becker (cherry picked from commit 16865b7c42fbce8a4d2b278460e387e719e289cb) Signed-off-by: Xiaowei.Hu --- diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 486878642ec4..2e50532e9e23 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); }