cgroups: remove cgroup_create_legacy()

parent d2a4d1db
......@@ -2806,7 +2806,4 @@ static struct cgroup_ops cgfsng_ops = {
.chown = cgfsng_chown,
.mount_cgroup = cgfsng_mount,
.nrtasks = cgfsng_nrtasks,
/* unsupported */
.create_legacy = NULL,
};
......@@ -1625,11 +1625,6 @@ static int lxc_spawn(struct lxc_handler *handler)
if (ret < 0)
goto out_delete_net;
if (!cgroup_create_legacy(handler)) {
ERROR("Failed to setup legacy cgroups for container \"%s\"", name);
goto out_delete_net;
}
if (!cgroup_setup_limits(handler, false)) {
ERROR("Failed to setup cgroup limits for container \"%s\"", name);
goto out_delete_net;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment