diff --git a/kernel/cgroup.c b/kernel/cgroup.c index ad28866ed44c6acc0556e74157e83ce6c5fc8b27..83a8fff43d68ebb0e2c7c676d707cfecc6ae24c1 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -3710,7 +3710,7 @@ static void offline_css(struct cgroup_subsys_state *css) css->flags &= ~CSS_ONLINE; css->cgroup->nr_css--; - RCU_INIT_POINTER(css->cgroup->subsys[ss->id], css); + RCU_INIT_POINTER(css->cgroup->subsys[ss->id], NULL); } /**