[libvirt] [PATCH 14/18] Fix comment in virStorageBackendFileSystemRefresh

Ján Tomko jtomko at redhat.com
Tue Jun 21 16:05:37 UTC 2016


'.' and '..' are now skipped by virDirRead, there's no need to mention
them in the comment.
---
 src/storage/storage_backend_fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index 2054309..44dabf4 100644
--- a/src/storage/storage_backend_fs.c
+++ b/src/storage/storage_backend_fs.c
@@ -932,7 +932,7 @@ virStorageBackendFileSystemRefresh(virConnectPtr conn ATTRIBUTE_UNUSED,
                                                 &vol->target.encryption)) < 0) {
             if (err == -2) {
                 /* Silently ignore non-regular files,
-                 * eg '.' '..', 'lost+found', dangling symbolic link */
+                 * eg 'lost+found', dangling symbolic link */
                 virStorageVolDefFree(vol);
                 vol = NULL;
                 continue;
-- 
2.7.3




More information about the libvir-list mailing list