|
@@ -1401,8 +1401,8 @@ static void init_cgroup_root(struct cgroupfs_root *root)
|
|
root->number_of_cgroups = 1;
|
|
root->number_of_cgroups = 1;
|
|
cgrp->root = root;
|
|
cgrp->root = root;
|
|
cgrp->top_cgroup = cgrp;
|
|
cgrp->top_cgroup = cgrp;
|
|
- list_add_tail(&cgrp->allcg_node, &root->allcg_list);
|
|
|
|
init_cgroup_housekeeping(cgrp);
|
|
init_cgroup_housekeeping(cgrp);
|
|
|
|
+ list_add_tail(&cgrp->allcg_node, &root->allcg_list);
|
|
}
|
|
}
|
|
|
|
|
|
static bool init_root_id(struct cgroupfs_root *root)
|
|
static bool init_root_id(struct cgroupfs_root *root)
|