[libvirt] [PATCH RFC 11/27] storage: fs: Fix comment for virStorageBackendFileSystemDelete

Peter Krempa pkrempa at redhat.com
Mon Dec 16 16:32:39 UTC 2013


The comment was talking about creating the pool while the function is
deleting it. Fix the mismatch.
---
 src/storage/storage_backend_fs.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index 11cf2df..9188ffa 100644
--- a/src/storage/storage_backend_fs.c
+++ b/src/storage/storage_backend_fs.c
@@ -962,11 +962,9 @@ virStorageBackendFileSystemStop(virConnectPtr conn ATTRIBUTE_UNUSED,

 /**
  * @conn connection to report errors against
- * @pool storage pool to build
- *
- * Build a directory or FS based storage pool.
+ * @pool storage pool to delete
  *
- *  - If it is a FS based pool, mounts the unlying source device on the pool
+ * Delete a directory based storage pool
  *
  * Returns 0 on success, -1 on error
  */
-- 
1.8.5.1




More information about the libvir-list mailing list