提交 344d4806 编写于 作者: J John Ferlan

Revert "lxc_cgroup: Add check for NULL cgroup before AddTask call"

This reverts commit ae09988e.

Since commit id '71ce4759' has been reverted, this one is no
longer necessary.
上级 d41bd095
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册