]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Remove volOptions for VIR_STORAGE_POOL_RBD
authorJohn Ferlan <jferlan@redhat.com>
Wed, 6 Feb 2019 22:03:42 +0000 (17:03 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 6 Mar 2019 16:12:48 +0000 (11:12 -0500)
The rbd pool is documented as not using the volume type,
so let's just remove it.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/storage_conf.c

index 0472be5753bc4ecfd096e5b17dbf6b8d85c4ab23..1dab1d970e588c555ac5d9735f3c7f810de6214f 100644 (file)
@@ -237,11 +237,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
                    VIR_STORAGE_POOL_SOURCE_NETWORK |
                    VIR_STORAGE_POOL_SOURCE_NAME),
       },
-      .volOptions = {
-          .defaultFormat = VIR_STORAGE_FILE_RAW,
-          .formatFromString = virStorageVolumeFormatFromString,
-          .formatToString = virStorageFileFormatTypeToString,
-      }
     },
     {.poolType = VIR_STORAGE_POOL_SHEEPDOG,
      .poolOptions = {