1
0
Files
linux/Documentation
Frederic Weisbecker 4d8438f044 res_counter: Merge res_counter_charge and res_counter_charge_nofail
These two functions do almost the same thing and duplicate some code.
Merge their implementation into a single common function.
res_counter_charge_locked() takes one more parameter but it doesn't seem
to be used outside res_counter.c yet anyway.

There is no (intended) change in the behaviour.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Glauber Costa <glommer@parallels.com>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Li Zefan <lizefan@huawei.com>
2012-04-27 14:36:45 -07:00
..
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2012-03-28 18:43:38 +01:00
2011-09-27 18:08:04 +02:00
2012-03-23 10:02:20 +01:00
2011-09-27 18:08:04 +02:00
2011-11-02 16:07:02 -07:00
2012-01-27 13:28:53 +01:00
2011-09-27 18:08:04 +02:00
2012-03-16 20:35:01 +00:00
2012-01-13 10:12:23 -08:00
2012-03-19 12:03:58 +01:00
2011-12-12 14:14:31 -08:00
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2012-02-28 16:05:06 +01:00
2011-09-27 18:08:04 +02:00
2012-01-02 13:04:55 +01:00