]> xenbits.xensource.com Git - libvirt.git/commitdiff
vircgroup: Finish renaming of virCgroupIsolateMount
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 26 Jan 2016 16:37:29 +0000 (17:37 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 26 Jan 2016 16:39:47 +0000 (17:39 +0100)
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@redhat.com>
src/util/vircgroup.c

index d7f4065f4154ca7d1f79bd940b61e0858ff40396..9b56e271ea2340f42f99cf145117ed50c2cf175c 100644 (file)
@@ -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"));