diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index dffa54041d4a..c8558693102b 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -4380,6 +4380,8 @@ static void css_release_work_fn(struct work_struct *work) | |||
4380 | if (ss) { | 4380 | if (ss) { |
4381 | /* css release path */ | 4381 | /* css release path */ |
4382 | cgroup_idr_remove(&ss->css_idr, css->id); | 4382 | cgroup_idr_remove(&ss->css_idr, css->id); |
4383 | if (ss->css_released) | ||
4384 | ss->css_released(css); | ||
4383 | } else { | 4385 | } else { |
4384 | /* cgroup release path */ | 4386 | /* cgroup release path */ |
4385 | cgroup_idr_remove(&cgrp->root->cgroup_idr, cgrp->id); | 4387 | cgroup_idr_remove(&cgrp->root->cgroup_idr, cgrp->id); |