diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/res_counter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/res_counter.h b/include/linux/res_counter.h index 731af71cddc9..fcb9884df618 100644 --- a/include/linux/res_counter.h +++ b/include/linux/res_counter.h | |||
| @@ -114,8 +114,7 @@ void res_counter_init(struct res_counter *counter, struct res_counter *parent); | |||
| 114 | int __must_check res_counter_charge_locked(struct res_counter *counter, | 114 | int __must_check res_counter_charge_locked(struct res_counter *counter, |
| 115 | unsigned long val); | 115 | unsigned long val); |
| 116 | int __must_check res_counter_charge(struct res_counter *counter, | 116 | int __must_check res_counter_charge(struct res_counter *counter, |
| 117 | unsigned long val, struct res_counter **limit_fail_at, | 117 | unsigned long val, struct res_counter **limit_fail_at); |
| 118 | struct res_counter **soft_limit_at); | ||
| 119 | 118 | ||
| 120 | /* | 119 | /* |
| 121 | * uncharge - tell that some portion of the resource is released | 120 | * uncharge - tell that some portion of the resource is released |
| @@ -128,8 +127,7 @@ int __must_check res_counter_charge(struct res_counter *counter, | |||
| 128 | */ | 127 | */ |
| 129 | 128 | ||
| 130 | void res_counter_uncharge_locked(struct res_counter *counter, unsigned long val); | 129 | void res_counter_uncharge_locked(struct res_counter *counter, unsigned long val); |
| 131 | void res_counter_uncharge(struct res_counter *counter, unsigned long val, | 130 | void res_counter_uncharge(struct res_counter *counter, unsigned long val); |
| 132 | bool *was_soft_limit_excess); | ||
| 133 | 131 | ||
| 134 | static inline bool res_counter_limit_check_locked(struct res_counter *cnt) | 132 | static inline bool res_counter_limit_check_locked(struct res_counter *cnt) |
| 135 | { | 133 | { |
