From 12f37845591f6d7ea872beefb1a031c24c79873d Mon Sep 17 00:00:00 2001 From: roel Date: Mon, 12 Dec 2011 23:40:51 +0100 Subject: [PATCH] --- yaml --- r: 311701 b: refs/heads/master c: 16865b7c42fbce8a4d2b278460e387e719e289cb h: refs/heads/master i: 311699: ee587d6944029b6c3f54585d73cc40918d4bcca4 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/dlmglue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index fb4351daa22c..e5d894dbc2f5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3e5d3c35a68c9a933bdbdd8685bd1a205b57e806 +refs/heads/master: 16865b7c42fbce8a4d2b278460e387e719e289cb diff --git a/trunk/fs/ocfs2/dlmglue.c b/trunk/fs/ocfs2/dlmglue.c index 81a4cd22f80b..274529cce9c6 100644 --- a/trunk/fs/ocfs2/dlmglue.c +++ b/trunk/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); }