When handle_uninitialized_path() moves a path from INIT_MISSING_UDEV to
INIT_FAILED, it has already waited for conf->retrigger_delay seconds. It
might as well check the path state now, instead of waiting for the next
iteration.

Signed-off-by: Benjamin Marzinski <[email protected]>
---
 multipathd/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index d6f4704b..234fbf7d 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -2672,7 +2672,6 @@ handle_uninitialized_path(struct vectors * vecs, struct 
path * pp,
                         * place.
                         */
                        pp->initialized = INIT_FAILED;
-                       return 0;
                }
        }
 
-- 
2.45.0


Reply via email to