diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/res_counter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/res_counter.h b/include/linux/res_counter.h index 6d9e1fca098c..125660e7793f 100644 --- a/include/linux/res_counter.h +++ b/include/linux/res_counter.h | |||
@@ -95,8 +95,10 @@ void res_counter_init(struct res_counter *counter); | |||
95 | * counter->limit _locked call expects the counter->lock to be taken | 95 | * counter->limit _locked call expects the counter->lock to be taken |
96 | */ | 96 | */ |
97 | 97 | ||
98 | int res_counter_charge_locked(struct res_counter *counter, unsigned long val); | 98 | int __must_check res_counter_charge_locked(struct res_counter *counter, |
99 | int res_counter_charge(struct res_counter *counter, unsigned long val); | 99 | unsigned long val); |
100 | int __must_check res_counter_charge(struct res_counter *counter, | ||
101 | unsigned long val); | ||
100 | 102 | ||
101 | /* | 103 | /* |
102 | * uncharge - tell that some portion of the resource is released | 104 | * uncharge - tell that some portion of the resource is released |