diff options
author | Tejun Heo <tj@kernel.org> | 2013-12-05 12:28:03 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-12-05 12:28:03 -0500 |
commit | 716f479d279fb456f58be44180d7479da75e5a4e (patch) | |
tree | efa77f05821ca5170b4d72b84fadd40c74f399b0 /arch | |
parent | e92e113cabc1d3e47dc4740a814adb413f022e2f (diff) |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions