[PATCH] virStorageBackendISCSIGetHostNumber: correctly use virDirOpen

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

 



Incorrect conflict resolution in my commit e81de04c1 broke this.
---
 src/storage/storage_backend_iscsi.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Pushed under the build-breaker rule.

diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c
index 4a16d2b..98d1141 100644
--- a/src/storage/storage_backend_iscsi.c
+++ b/src/storage/storage_backend_iscsi.c
@@ -100,9 +100,7 @@ virStorageBackendISCSIGetHostNumber(const char *sysfs_path,
 
     virFileWaitForDevices();
 
-    if (virDirOpen(&sysdir, sysfs_path) < 0)
-        virReportSystemError(errno,
-                             _("Failed to opendir path '%s'"), sysfs_path);
+    if (virDirOpen(&sysdir, sysfs_path) < 0) {
         retval = -1;
         goto out;
     }
-- 
2.7.3

--
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]