[PATCH 2/3] libvirt: Add virStorageVolDeleteFlags to virStorageVolDelete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 src/libvirt-storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libvirt-storage.c b/src/libvirt-storage.c
index 66dd9f0..c195ca9 100644
--- a/src/libvirt-storage.c
+++ b/src/libvirt-storage.c
@@ -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
  *
-- 
2.5.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]