mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Revert "lxc_cgroup: Add check for NULL cgroup before AddTask call"
This reverts commit ae09988eb7
.
Since commit id '71ce4759' has been reverted, this one is no
longer necessary.
This commit is contained in:
parent
d41bd09596
commit
344d480611
@ -501,7 +501,7 @@ virCgroupPtr virLXCCgroupCreate(virDomainDefPtr def,
|
|||||||
nnicindexes, nicindexes,
|
nnicindexes, nicindexes,
|
||||||
def->resource->partition,
|
def->resource->partition,
|
||||||
-1,
|
-1,
|
||||||
&cgroup) < 0 || !cgroup)
|
&cgroup) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
/* setup control group permissions for user namespace */
|
/* setup control group permissions for user namespace */
|
||||||
|
Loading…
Reference in New Issue
Block a user