[dm-devel] [PATCH] multipathd: fix typo that breaks failure path
Christophe Varoqui
christophe.varoqui at opensvc.com
Fri Jul 22 09:59:49 UTC 2016
Merged.
Thanks.
On Thu, Jul 21, 2016 at 10:59 PM, Benjamin Marzinski <bmarzins at redhat.com>
wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160722/4bce23dc/attachment.htm>
More information about the dm-devel
mailing list