Tejun Heo
716f479d27
hugetlb_cgroup: convert away from cftype->read()
...
In preparation of conversion to kernfs, cgroup file handling is being
consolidated so that it can be easily mapped to the seq_file based
interface of kernfs.
All users of cftype->read() can be easily served, usually better, by
seq_file and other methods. Update hugetlb_cgroup_read() to return
u64 instead of printing itself and rename it to
hugetlb_cgroup_read_u64().
This patch doesn't make any visible behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
2013-12-05 12:28:03 -05:00
..
2013-09-11 15:58:03 -07:00
2012-12-11 17:22:26 -08:00
2013-11-13 12:09:09 +09:00
2013-09-30 14:31:02 -07:00
2013-04-30 17:04:01 -07:00
2013-11-13 12:09:03 +09:00
2012-12-11 17:22:24 -08:00
2013-03-03 22:46:22 -05:00
2013-11-06 12:40:26 +01:00
2013-11-15 09:32:13 +09:00
2013-08-13 17:57:48 -07:00
2013-06-12 16:29:46 -07:00
2012-12-20 08:37:05 -08:00
2013-11-15 09:32:15 +09:00
2013-12-05 12:28:03 -05:00
2013-11-21 16:42:27 -08:00
2013-09-30 14:31:03 -07:00
2013-09-11 15:58:01 -07:00
2012-10-09 16:22:42 +09:00
2013-11-15 16:47:22 -08:00
2013-11-13 12:09:07 +09:00
2013-11-13 12:09:02 +09:00
2013-10-30 12:57:46 -07:00
2013-09-30 14:31:02 -07:00
2013-09-10 18:56:30 -04:00
2013-11-13 12:09:08 +09:00
2013-12-05 12:28:02 -05:00
2013-11-13 12:09:09 +09:00
2013-11-15 09:32:23 +09:00
2013-11-20 14:41:47 -08:00
2013-11-21 16:42:27 -08:00
2013-09-11 15:58:14 -07:00
2013-11-21 16:42:27 -08:00
2013-02-23 17:50:17 -08:00
2013-09-30 14:31:02 -07:00
2013-10-09 14:47:45 +02:00
2013-11-15 09:32:14 +09:00
2013-05-07 18:38:27 -07:00
2013-06-28 14:34:33 +02:00
2013-10-09 14:47:45 +02:00
2013-11-13 12:09:11 +09:00
2013-10-16 21:35:53 -07:00
2013-11-13 12:09:04 +09:00
2013-11-13 15:45:43 +09:00
2013-11-15 09:32:14 +09:00
2013-11-13 12:09:11 +09:00
2012-12-12 17:38:32 -08:00
2013-07-30 11:53:12 -04:00
2013-09-11 15:57:48 -07:00
2013-10-16 21:35:53 -07:00
2013-10-30 14:27:03 -07:00
2013-09-23 10:51:45 -04:00
2013-11-15 09:32:15 +09:00
2013-03-12 11:05:45 -07:00
2013-11-13 12:09:09 +09:00
2013-11-15 09:32:14 +09:00
2013-09-11 15:59:37 -07:00
2013-11-13 12:09:10 +09:00
2013-11-22 08:10:34 -08:00
2013-11-13 12:09:10 +09:00
2013-09-04 20:51:33 +03:00
2013-11-22 08:10:34 -08:00
2013-04-29 15:54:35 -07:00
2013-11-13 12:09:06 +09:00
2013-09-11 15:59:36 -07:00
2013-11-21 16:42:27 -08:00
2013-11-13 12:09:07 +09:00
2013-09-12 15:38:02 -07:00
2013-11-13 12:09:11 +09:00
2013-11-13 12:09:07 +09:00
2013-11-22 18:20:43 -05:00
2013-10-16 21:35:52 -07:00
2013-11-13 12:09:11 +09:00
2013-09-11 15:57:35 -07:00
2013-11-13 12:09:11 +09:00