Use devpath as argument for sysfs functions
authorHannes Reinecke <hare@suse.de>
Thu, 19 Apr 2012 09:08:55 +0000 (11:08 +0200)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Fri, 20 Apr 2012 17:47:21 +0000 (19:47 +0200)
commit44217d3b6ceec8bbc434b33702693676d9ce2738
treecbc8436aeb57644b4d2c71c59bbcffa22b6c4888
parent970c9f4d4b25329dd524f19ad14c65cac1c711c5
Use devpath as argument for sysfs functions

Whenever we pass in a sysfs structure to functions we're only
ever interested in the devpath. So we can as well pass in the
device path directly, without reference to the sysfs structure.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/discovery.c
libmultipath/discovery.h
libmultipath/propsel.c
libmultipath/structs_vec.c
libmultipath/sysfs.h
libmultipath/util.c
libmultipath/util.h
multipathd/cli_handlers.c