Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304803
b: refs/heads/master
c: 0d4dde1
h: refs/heads/master
i:
  304801: 1e7ff31
  304799: 991e46a
v: v3
  • Loading branch information
Frederic Weisbecker authored and Tejun Heo committed Apr 27, 2012
1 parent 86e1d97 commit 4979e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d8438f044d8aaac6fbba98316ba484dabea397d
refs/heads/master: 0d4dde1ac9a5af74ac76c6ab90557d1ae7b8f5d8
2 changes: 1 addition & 1 deletion trunk/kernel/res_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int res_counter_charge_locked(struct res_counter *counter, unsigned long val,
}

counter->usage += val;
if (!force && counter->usage > counter->max_usage)
if (counter->usage > counter->max_usage)
counter->max_usage = counter->usage;
return ret;
}
Expand Down

0 comments on commit 4979e0a

Please sign in to comment.