Re: [PATCH] multipathd: fix typo that breaks failure path

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

 



Merged.
Thanks.

On Thu, Jul 21, 2016 at 10:59 PM, Benjamin Marzinski <bmarzins@xxxxxxxxxx> wrote:
There wasn't supposed to be a semicolon after the "else" when checking
paths in checkerloop().

Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
---
 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


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux