libmultipath: hp_sw checker: leave unsupported paths alone
authorMartin Wilck <mwilck@suse.com>
Fri, 2 Nov 2018 12:21:18 +0000 (13:21 +0100)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 14 Nov 2018 07:21:36 +0000 (08:21 +0100)
commitb5c549cecae98ebd255e427de4a1675c130eabfe
treec08c34061971f52b5b22bcccad1109c873a019ab
parentdddc59ac1cfefb9184a4f9f6062c63ac28705bb7
libmultipath: hp_sw checker: leave unsupported paths alone

A checker shouldn't set the path state to PATH_DOWN if it fails
to obtain information about the path in the first place. Add logic
to the checker to distinguish a failed path from an unsupported path.

Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>
libmultipath/checkers/hp_sw.c