[libvirt] [PATCH] vircgroup: Finish renaming of virCgroupIsolateMount

Michal Privoznik mprivozn at redhat.com
Tue Jan 26 16:45:22 UTC 2016


In dc576025c360 we renamed virCgroupIsolateMount function to
virCgroupBindMount. However, we forgot about one occurrence in
section of the code which provides stubs for platforms without
support for CGroups like *BSD for instance.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---

Pushed under build-breaker and trivial rules.

 src/util/vircgroup.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index d7f4065..9b56e27 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4882,9 +4882,9 @@ virCgroupGetFreezerState(virCgroupPtr group ATTRIBUTE_UNUSED,
 
 
 int
-virCgroupIsolateMount(virCgroupPtr group ATTRIBUTE_UNUSED,
-                      const char *oldroot ATTRIBUTE_UNUSED,
-                      const char *mountopts ATTRIBUTE_UNUSED)
+virCgroupBindMount(virCgroupPtr group ATTRIBUTE_UNUSED,
+                   const char *oldroot ATTRIBUTE_UNUSED,
+                   const char *mountopts ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));
-- 
2.4.10




More information about the libvir-list mailing list