aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 7868fc3c0bc5..d9a8be911f5b 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -3328,7 +3328,7 @@ bool css_has_online_children(struct cgroup_subsys_state *css)
3328 3328
3329 rcu_read_lock(); 3329 rcu_read_lock();
3330 css_for_each_child(child, css) { 3330 css_for_each_child(child, css) {
3331 if (css->flags & CSS_ONLINE) { 3331 if (child->flags & CSS_ONLINE) {
3332 ret = true; 3332 ret = true;
3333 break; 3333 break;
3334 } 3334 }