[libvirt] [PATCH] vstorage: fix build

Olga Krishtal okrishtal at virtuozzo.com
Thu Jan 26 16:44:26 UTC 2017


Fixed errors when we build libvirt with --with-storage-vstorage key

Signed-off-by: Olga Krishtal <okrishtal at virtuozzo.com>
---
 src/storage/storage_backend_vstorage.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/storage/storage_backend_vstorage.c b/src/storage/storage_backend_vstorage.c
index d3a12fb..7a1c468 100644
--- a/src/storage/storage_backend_vstorage.c
+++ b/src/storage/storage_backend_vstorage.c
@@ -9,6 +9,7 @@
 #include <mntent.h>
 #include <pwd.h>
 #include <grp.h>
+#include "storage_util.h"
 
 #define VIR_FROM_THIS VIR_FROM_STORAGE
 
@@ -131,7 +132,7 @@ virStorageBackendVzPoolStop(virConnectPtr conn ATTRIBUTE_UNUSED,
     if ((rc = virStorageBackendVzIsMounted(pool)) != 1)
         return rc;
 
-    return virStorageBackendUnmountLocal(pool);
+    return virStorageBackendUmountLocal(pool);
 }
 
 
-- 
1.8.3.1




More information about the libvir-list mailing list