libmultipath: Only count UP and GHOST paths for prio update
authorHannes Reinecke <hare@suse.de>
Thu, 10 Feb 2011 09:35:28 +0000 (10:35 +0100)
committerHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 08:34:38 +0000 (10:34 +0200)
commit25251f26b82e7f729be7140cbb806791e07da70c
treee1e6dc5b58d0450eaf2e07097f29e5b5487d86b8
parentabc8f66328e4d75542d49969b73736419c2cf960
libmultipath: Only count UP and GHOST paths for prio update

When calculating the priority of a pathgroup we should be
counting only UP and GHOST paths; all other values might
be stale.

References: bnc#665289

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