]> xenbits.xensource.com Git - libvirt.git/commitdiff
ploop: Fix build with gluster
authorJiri Denemark <jdenemar@redhat.com>
Fri, 15 Apr 2016 16:05:37 +0000 (18:05 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 15 Apr 2016 16:09:18 +0000 (18:09 +0200)
Recent patches addiing support for ploop volumes did not properly update
gluster backend.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/storage/storage_backend_gluster.c

index d2e79bcf4b6a68774733531f0347062cb5ad8f0f..00850528949f11ee264ddc08a5bb48f4e372b095 100644 (file)
@@ -435,6 +435,7 @@ virStorageBackendGlusterVolDelete(virConnectPtr conn ATTRIBUTE_UNUSED,
     case VIR_STORAGE_VOL_FILE:
     case VIR_STORAGE_VOL_DIR:
     case VIR_STORAGE_VOL_BLOCK:
+    case VIR_STORAGE_VOL_PLOOP:
     case VIR_STORAGE_VOL_LAST:
         virReportError(VIR_ERR_NO_SUPPORT,
                        _("removing of '%s' volumes is not supported "