[dm-devel] [PATCH] multipathd: fix typo that breaks failure path

Benjamin Marzinski bmarzins at redhat.com
Thu Jul 21 20:59:40 UTC 2016


There wasn't supposed to be a semicolon after the "else" when checking
paths in checkerloop().

Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index c129298..d90d856 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -1790,7 +1790,7 @@ checkerloop (void *ap)
 					vector_del_slot(vecs->pathvec, i);
 					free_path(pp);
 					i--;
-				} else;
+				} else
 					num_paths += rc;
 			}
 			lock_cleanup_pop(vecs->lock);
-- 
1.8.3.1




More information about the dm-devel mailing list