]> xenbits.xensource.com Git - libvirt.git/commit
storage: Add virCheckFlags to virStorageBackendRBDDeleteVol
authorJohn Ferlan <jferlan@redhat.com>
Wed, 2 Dec 2015 21:38:50 +0000 (16:38 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 18 Dec 2015 15:51:08 +0000 (10:51 -0500)
commitbe783825af73202cad0242aad7671e98b726f4ce
tree9fa6e6c125c141e9726c4cc6df893f265485f455
parentae09988eb787df63d3bb298f713a3bbd77275901
storage: Add virCheckFlags to virStorageBackendRBDDeleteVol

The initial commit '74951eade' did not include the proper check for whether
any flags are supported by the driver.

Even though the driver doesn't support VIR_STORAGE_VOL_DELETE_ZEROED,
it still checks and allows the processing to continue

Also add the new VIR_STORAGE_VOL_DELETE_WITH_SNAPSHOTS since it is handled
as of commit id '3c7590e0a'.
src/storage/storage_backend_rbd.c