forked from rpms/libvirt
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
|
From 45fd4b2e1b694ca15bfd124f6b5e24e79a670a47 Mon Sep 17 00:00:00 2001
|
||
|
Message-Id: <45fd4b2e1b694ca15bfd124f6b5e24e79a670a47@dist-git>
|
||
|
From: Pavel Hrdina <phrdina@redhat.com>
|
||
|
Date: Mon, 1 Jul 2019 17:06:10 +0200
|
||
|
Subject: [PATCH] vircgroup: Remove obsolete sa_assert
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
||
|
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
||
|
(cherry picked from commit b14b88b74c10c9e20f87218c5994681fc35c2c57)
|
||
|
|
||
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1689297
|
||
|
|
||
|
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
||
|
Message-Id: <3e004259ee462b47a9e1069ac2f4e9d67a914f6e.1561993099.git.phrdina@redhat.com>
|
||
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
||
|
---
|
||
|
src/util/vircgroup.c | 4 ----
|
||
|
1 file changed, 4 deletions(-)
|
||
|
|
||
|
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
|
||
|
index 02de33f74f..64507bf8aa 100644
|
||
|
--- a/src/util/vircgroup.c
|
||
|
+++ b/src/util/vircgroup.c
|
||
|
@@ -1054,10 +1054,6 @@ virCgroupMakeGroup(virCgroupPtr parent,
|
||
|
if (virCgroupPathOfController(group, i, "", &path) < 0)
|
||
|
goto error;
|
||
|
|
||
|
- /* As of Feb 2011, clang can't see that the above function
|
||
|
- * call did not modify group. */
|
||
|
- sa_assert(group->controllers[i].mountPoint);
|
||
|
-
|
||
|
VIR_DEBUG("Make controller %s", path);
|
||
|
if (!virFileExists(path)) {
|
||
|
if (!create ||
|
||
|
--
|
||
|
2.22.0
|
||
|
|