libvirt/SOURCES/libvirt-virWaitForDevices-Drop-confusing-part-of-comment.patch
2021-10-08 13:11:16 +00:00

42 lines
1.5 KiB
Diff

From a72b338a9127075ea9ededcdc201dc87b65fe731 Mon Sep 17 00:00:00 2001
Message-Id: <a72b338a9127075ea9ededcdc201dc87b65fe731@dist-git>
From: Michal Privoznik <mprivozn@redhat.com>
Date: Thu, 27 Jun 2019 15:55:36 +0200
Subject: [PATCH] virWaitForDevices: Drop confusing part of comment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
It's not true that there is a backup loop. There isn't. Drop this
part of the comment to not confuse anybody.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
(cherry picked from commit 0cabcd98f1ef82588016a692afbe5a47a4a0b42e)
https://bugzilla.redhat.com/show_bug.cgi?id=1710575
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <3faa00d11315ede9c72b32b1aa1f8797e1638dfe.1561643698.git.mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
---
src/util/virutil.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/util/virutil.c b/src/util/virutil.c
index 88e17e2c0f..d37c1ac632 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -1637,8 +1637,6 @@ void virWaitForDevices(void)
/*
* NOTE: we ignore errors here; this is just to make sure that any device
* nodes that are being created finish before we try to scan them.
- * If this fails for any reason, we still have the backup of polling for
- * 5 seconds for device nodes.
*/
ignore_value(virRun(settleprog, &exitstatus));
}
--
2.22.0