Search for correct hwe in update_multipath()
Search for correct hwe in update_multipath()

When updating the multipath structure we only should update the
hardware entry if it doesn't exist anymore. And we should take
care of not selecting invalid entries in the paths vector as
the hardware entry for this is invalid, too.

Signed-off-by: Hannes Reinecke <b0d1e9e4a4e27620745ff49be9000da3174a4cc6@suse.de>

unakatsuo/multipath-tools,grzn/multipath-tools-explained,vijaychauhan/multipath-tools,unakatsuo/multipath-tools,grzn/multipath-tools-explained,unakatsuo/multipath-tools,vijaychauhan/multipath-tools,gebi/multipath-tools