diff options
author | John Ferlan <jferlan@redhat.com> | 2016-01-14 11:01:50 -0500 |
---|---|---|
committer | John Ferlan <jferlan@redhat.com> | 2016-01-14 11:01:50 -0500 |
commit | 344d4806114c68fff2bc535eba659d2f08e46d81 (patch) | |
tree | 81da1f1c281d568b5f09a60e058d00675c3129a8 | |
parent | d41bd09596cb6df60bc5157fd8609448203df0c6 (diff) | |
download | libvirt-344d4806114c68fff2bc535eba659d2f08e46d81.tar.gz |
Revert "lxc_cgroup: Add check for NULL cgroup before AddTask call"
This reverts commit ae09988eb787df63d3bb298f713a3bbd77275901.
Since commit id '71ce4759' has been reverted, this one is no
longer necessary.
-rw-r--r-- | src/lxc/lxc_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxc/lxc_cgroup.c b/src/lxc/lxc_cgroup.c index 8f78d24b83..ad254e4934 100644 --- a/src/lxc/lxc_cgroup.c +++ b/src/lxc/lxc_cgroup.c @@ -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 */ |