mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Fix comment in virStorageBackendFileSystemRefresh
'.' and '..' are now skipped by virDirRead, there's no need to mention them in the comment.
This commit is contained in:
parent
fe79c3f2c1
commit
852cd39830
@ -936,7 +936,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;
|
||||
|
Loading…
Reference in New Issue
Block a user