Fixup multibus zero-path handling
authorHannes Reinecke <hare@suse.de>
Tue, 24 Feb 2009 13:13:56 +0000 (14:13 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Tue, 21 Apr 2009 23:53:47 +0000 (01:53 +0200)
commit3a2c16139d6c884a5bc1afc8ec71f3412f7f7c95
tree2507a1427924ff488f793b5cdcc2ab93f064b243
parent5da642ff71254ecda685e82c681e78cab4c75b87
Fixup multibus zero-path handling

The 'multibus' pgpolicy function currently always adds a pathgroup,
even when no paths are present. This confuses setup_map() which
doesn't expect this behaviour.

References: 476330

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