From: Tejun Heo Date: Thu, 5 Dec 2013 17:28:03 +0000 (-0500) Subject: hugetlb_cgroup: convert away from cftype->read() X-Git-Tag: v3.14-rc1~136^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716f479d279fb456f58be44180d7479da75e5a4e;p=pandora-kernel.git 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 Reviewed-by: Michal Hocko Acked-by: Li Zefan Cc: Aneesh Kumar K.V Cc: Johannes Weiner --- Reading git-diff-tree failed