]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/start.c
cgroup: rename container specific cgroup functions
[mirror_lxc.git] / src / lxc / start.c
index 6d289dadd6e9751d68b51fc2785c757459460edc..02310635c8c2fc14b9ef664c25f1367b9edd4c97 100644 (file)
@@ -1678,7 +1678,7 @@ static int lxc_spawn(struct lxc_handler *handler)
                }
        }
 
-       if (!cgroup_ops->create(cgroup_ops, handler)) {
+       if (!cgroup_ops->payload_create(cgroup_ops, handler)) {
                ERROR("Failed creating cgroups");
                goto out_delete_net;
        }
@@ -1772,7 +1772,7 @@ static int lxc_spawn(struct lxc_handler *handler)
                goto out_delete_net;
        }
 
-       if (!cgroup_ops->enter(cgroup_ops, handler->pid))
+       if (!cgroup_ops->payload_enter(cgroup_ops, handler->pid))
                goto out_delete_net;
 
        if (!cgroup_ops->chown(cgroup_ops, handler->conf))