diff options
-rw-r--r-- | kernel/res_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/res_counter.c b/kernel/res_counter.c index 07a29923aba2..bebe2b170d49 100644 --- a/kernel/res_counter.c +++ b/kernel/res_counter.c | |||
@@ -35,7 +35,7 @@ int res_counter_charge_locked(struct res_counter *counter, unsigned long val, | |||
35 | } | 35 | } |
36 | 36 | ||
37 | counter->usage += val; | 37 | counter->usage += val; |
38 | if (!force && counter->usage > counter->max_usage) | 38 | if (counter->usage > counter->max_usage) |
39 | counter->max_usage = counter->usage; | 39 | counter->max_usage = counter->usage; |
40 | return ret; | 40 | return ret; |
41 | } | 41 | } |