libmultipath: read path state directly from sysfs
authorHannes Reinecke <hare@suse.de>
Tue, 16 Jul 2013 07:13:21 +0000 (09:13 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 16 Jul 2013 19:50:42 +0000 (21:50 +0200)
commit277424fbcfc44b65e87fe51c24206cf47596b262
tree0ff5984f361c1e2ed0944282ad0dc5e713c41494
parentdeca1812c19278d741a678e391974d77d0574fd4
libmultipath: read path state directly from sysfs

The 'state' attribute of a SCSI device might change without
generating any udev events, so we need to read it directly
from sysfs.

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