diff options
-rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index fb1193bec4af..402f7aab8b2d 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -4618,6 +4618,7 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss) | |||
4618 | if (IS_ERR(css)) { | 4618 | if (IS_ERR(css)) { |
4619 | /* failure case - need to deassign the cgroup_subsys[] slot. */ | 4619 | /* failure case - need to deassign the cgroup_subsys[] slot. */ |
4620 | cgroup_subsys[ss->subsys_id] = NULL; | 4620 | cgroup_subsys[ss->subsys_id] = NULL; |
4621 | mutex_unlock(&cgroup_root_mutex); | ||
4621 | mutex_unlock(&cgroup_mutex); | 4622 | mutex_unlock(&cgroup_mutex); |
4622 | return PTR_ERR(css); | 4623 | return PTR_ERR(css); |
4623 | } | 4624 | } |