]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt: Add virStorageVolDeleteFlags to virStorageVolDelete
authorJohn Ferlan <jferlan@redhat.com>
Wed, 2 Dec 2015 22:00:46 +0000 (17:00 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 18 Dec 2015 15:51:08 +0000 (10:51 -0500)
Although they've been present for quite a while, they weren't added
to the API definition, so add them there to make it clearer.

Currently only the RBD backend even checks for any flags.

src/libvirt-storage.c

index 238a6cd549dc2a3187d0aa4c30e685c22d36d3b5..bf09f7a6398464b64cb51eee3303b7191e66169a 100644 (file)
@@ -1684,7 +1684,7 @@ virStorageVolUpload(virStorageVolPtr vol,
 /**
  * virStorageVolDelete:
  * @vol: pointer to storage volume
- * @flags: extra flags; not used yet, so callers should always pass 0
+ * @flags: bitwise-OR of virStorageVolDeleteFlags
  *
  * Delete the storage volume from the pool
  *