@@ -649,6 +649,10 @@ int cgroup_path_ve(const struct cgroup *cgrp, char *buf, int buflen);
int cgroup_task_count(const struct cgroup *cgrp);
+#ifdef CONFIG_VE
+void cgroup_mark_ve_roots(struct ve_struct *ve);
+#endif
+
/*
* Control Group taskset, used to pass around set of tasks to cgroup_subsys
* methods.
@@ -4331,7 +4331,7 @@ static int subgroups_count(struct cgroup *cgroup)
}
#ifdef CONFIG_VE
-void cgroup_mark_ve_root(struct ve_struct *ve)
+void cgroup_mark_ve_roots(struct ve_struct *ve)
{
struct cgroup *cgrp;
struct cgroupfs_root *root;
@@ -484,8 +484,6 @@ static void ve_drop_context(struct ve_struct *ve)
static const struct timespec zero_time = { };
-extern void cgroup_mark_ve_root(struct ve_struct *ve);
-
static int ve_workqueue_start(struct ve_struct *ve)
{
ve->wq = alloc_workqueue("ve_wq_%s",
@@ -552,7 +550,7 @@ static int ve_start_container(struct ve_struct *ve)
if (err < 0)
goto err_iterate;
- cgroup_mark_ve_root(ve);
+ cgroup_mark_ve_roots(ve);
ve->is_running = 1;