aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index f2a3f5c9936c..382109b5baeb 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -3405,7 +3405,7 @@ unsigned short css_depth(struct cgroup_subsys_state *css)
3405} 3405}
3406 3406
3407bool css_is_ancestor(struct cgroup_subsys_state *child, 3407bool css_is_ancestor(struct cgroup_subsys_state *child,
3408 struct cgroup_subsys_state *root) 3408 const struct cgroup_subsys_state *root)
3409{ 3409{
3410 struct css_id *child_id = rcu_dereference(child->id); 3410 struct css_id *child_id = rcu_dereference(child->id);
3411 struct css_id *root_id = rcu_dereference(root->id); 3411 struct css_id *root_id = rcu_dereference(root->id);