]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/res_counter.h
res_counter: Merge res_counter_charge and res_counter_charge_nofail
[mirror_ubuntu-artful-kernel.git] / include / linux / res_counter.h
index da81af086eaf765ea701247cd332944ba7b3c570..fb201896a8b07136db13bcef486fdb382b7ee3c2 100644 (file)
@@ -116,7 +116,7 @@ void res_counter_init(struct res_counter *counter, struct res_counter *parent);
  */
 
 int __must_check res_counter_charge_locked(struct res_counter *counter,
-               unsigned long val);
+                                          unsigned long val, bool force);
 int __must_check res_counter_charge(struct res_counter *counter,
                unsigned long val, struct res_counter **limit_fail_at);
 int __must_check res_counter_charge_nofail(struct res_counter *counter,