projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5d3c3
)
ocfs2: Misplaced parens in unlikley
author
roel
<roel.kluin@gmail.com>
Mon, 12 Dec 2011 22:40:51 +0000
(23:40 +0100)
committer
Joel 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/dlmglue.c
b/fs/ocfs2/dlmglue.c
index 81a4cd22f80be84a06eac2b0fbf4348385d76262..274529cce9c61354309ff91b1ccc3c183b817573 100644
(file)
--- 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);
}