|
@@ -4618,6 +4618,7 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss)
|
|
if (IS_ERR(css)) {
|
|
if (IS_ERR(css)) {
|
|
/* failure case - need to deassign the cgroup_subsys[] slot. */
|
|
/* failure case - need to deassign the cgroup_subsys[] slot. */
|
|
cgroup_subsys[ss->subsys_id] = NULL;
|
|
cgroup_subsys[ss->subsys_id] = NULL;
|
|
|
|
+ mutex_unlock(&cgroup_root_mutex);
|
|
mutex_unlock(&cgroup_mutex);
|
|
mutex_unlock(&cgroup_mutex);
|
|
return PTR_ERR(css);
|
|
return PTR_ERR(css);
|
|
}
|
|
}
|