[dm-devel] [PATCH 01/16] libmultipath: make vector_foreach_slot_backwards work as expected

Martin Wilck Martin.Wilck at suse.com
Wed Aug 14 21:35:22 UTC 2019


On Fri, 2019-08-02 at 11:33 -0500, Benjamin Marzinski wrote:
> All of the code that uses vector_foreach_slot_backwards() treats "i"
> as
> the index of the entry "p", but the way it was coded, that wasn't the
> case. "i" was the number of the entry counting from 1, not 0.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

Reviewed-by: Martin Wilck <mwilck at suse.com>  (once more :-)





More information about the dm-devel mailing list