diff options
author | roel <roel.kluin@gmail.com> | 2011-12-12 23:40:51 +0100 |
---|---|---|
committer | Joel Becker <jlbec@evilplan.org> | 2012-07-03 23:27:13 -0700 |
commit | 16865b7c42fbce8a4d2b278460e387e719e289cb (patch) | |
tree | 143be668183c248d4b4108be94ac69d2a94fce89 /fs | |
parent | 3e5d3c35a68c9a933bdbdd8685bd1a205b57e806 (diff) | |
download | talos-obmc-linux-16865b7c42fbce8a4d2b278460e387e719e289cb.tar.gz talos-obmc-linux-16865b7c42fbce8a4d2b278460e387e719e289cb.zip |
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')
-rw-r--r-- | fs/ocfs2/dlmglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 81a4cd22f80b..274529cce9c6 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); } |