mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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,
|
||||
def->resource->partition,
|
||||
-1,
|
||||
&cgroup) < 0 || !cgroup)
|
||||
&cgroup) < 0)
|
||||
goto cleanup;
|
||||
|
||||
/* setup control group permissions for user namespace */
|
||||
|
Loading…
Reference in New Issue
Block a user