hugetlb_cgroup: pass around @hugetlb_cgroup instead of @cgroup
authorTejun Heo <tj@kernel.org>
Fri, 9 Aug 2013 00:11:22 +0000 (20:11 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 9 Aug 2013 00:11:22 +0000 (20:11 -0400)
commit3f79851831a135c5cebbcaa8cddb07d02870b069
treeafe7ebf14a4ffecc5bb053d6c0c1474155b598e1
parent6d37b97428d20a21ffc39ba90e97e91e2a79a986
hugetlb_cgroup: pass around @hugetlb_cgroup instead of @cgroup

cgroup controller API will be converted to primarily use struct
cgroup_subsys_state instead of struct cgroup.  In preparation, make
hugetlb_cgroup functions pass around struct hugetlb_cgroup instead of
struct cgroup.

This patch shouldn't cause any behavior differences.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
mm/hugetlb_cgroup.c