Update hwtable factorization
authorHannes Reinecke <hare@suse.de>
Thu, 5 May 2011 06:35:01 +0000 (08:35 +0200)
committerHannes Reinecke <hare@suse.de>
Thu, 5 May 2011 07:09:23 +0000 (09:09 +0200)
commit091ba626b70279dcdd8741c8c0e2c0b581f0d334
treebe689a212581e1e626fdb31135caf679592234d3
parent4197ffbad3014fa3c836a2b0afd3df807add0e35
Update hwtable factorization

During hwtable factorization we should _not_ merge the entries,
as the original entries might be regular expressions. Thus they
might match more devices than the new, user-provided one.
So during factorization we should _not_ remove duplicate
entries, but rather update the new entries with the missing
defaults and scan the table backwards.
With this we'll be using the modified entries for the matching
devices _only_, leaving all others intact.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/config.c
libmultipath/vector.h