diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 137d9de00e24..2219a76e2caf 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3201,7 +3201,7 @@ static void recalc_bh_state(void) | |||
3201 | int i; | 3201 | int i; |
3202 | int tot = 0; | 3202 | int tot = 0; |
3203 | 3203 | ||
3204 | if (__get_cpu_var(bh_accounting).ratelimit++ < 4096) | 3204 | if (__this_cpu_inc_return(bh_accounting.ratelimit) - 1 < 4096) |
3205 | return; | 3205 | return; |
3206 | __this_cpu_write(bh_accounting.ratelimit, 0); | 3206 | __this_cpu_write(bh_accounting.ratelimit, 0); |
3207 | for_each_online_cpu(i) | 3207 | for_each_online_cpu(i) |