mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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>
This commit is contained in:
parent
3e5d3c35a6
commit
16865b7c42
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user