diff options
Diffstat (limited to 'mm/hugetlb_cgroup.c')
-rw-r--r-- | mm/hugetlb_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index a380681ab3cf..493f758445e7 100644 --- a/mm/hugetlb_cgroup.c +++ b/mm/hugetlb_cgroup.c | |||
@@ -52,7 +52,7 @@ static inline bool hugetlb_cgroup_is_root(struct hugetlb_cgroup *h_cg) | |||
52 | static inline struct hugetlb_cgroup * | 52 | static inline struct hugetlb_cgroup * |
53 | parent_hugetlb_cgroup(struct hugetlb_cgroup *h_cg) | 53 | parent_hugetlb_cgroup(struct hugetlb_cgroup *h_cg) |
54 | { | 54 | { |
55 | return hugetlb_cgroup_from_css(css_parent(&h_cg->css)); | 55 | return hugetlb_cgroup_from_css(h_cg->css.parent); |
56 | } | 56 | } |
57 | 57 | ||
58 | static inline bool hugetlb_cgroup_have_usage(struct hugetlb_cgroup *h_cg) | 58 | static inline bool hugetlb_cgroup_have_usage(struct hugetlb_cgroup *h_cg) |