[libvirt] [PATCH] vstorage: fix build

Fixed errors when we build libvirt with --with-storage-vstorage key Signed-off-by: Olga Krishtal <okrishtal@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

On 01/26/2017 11:44 AM, Olga Krishtal wrote:
Fixed errors when we build libvirt with --with-storage-vstorage key
Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com> --- src/storage/storage_backend_vstorage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ACK (adjusted slightly to just add the storage_util.h since the other part was fixed differently and pushed) John
participants (2)
-
John Ferlan
-
Olga Krishtal