diff --git a/kernel/cgroup.c b/kernel/cgroup.c index fefc41c1a147fa6a3ff64c185aaf045974dfadb3..1e0f445b5b887750e8a39d07ca164fc4e0b51ed9 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -4037,6 +4037,7 @@ static int cgroup_clone_children_write(struct cgroup *cgrp, static struct cftype files[] = { { .name = "tasks", + .flags = CFTYPE_INSANE, /* use "procs" instead */ .open = cgroup_tasks_open, .write_u64 = cgroup_tasks_write, .release = cgroup_pidlist_release,