multipath: get right sysfs value for checker_timeout
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 5 Oct 2011 04:15:05 +0000 (23:15 -0500)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 5 Oct 2011 05:53:50 +0000 (07:53 +0200)
commitce1c220981bb42ab4a4e8a53251867188ef8861e
tree12bb2605970573ab76a692dfe574d7fbb20efddf
parentf7735ad547d9ebb952993ac0a6def0400fb23c80
multipath: get right sysfs value for checker_timeout

sysfs_get_timeout() wasn't looking in the correct directory for the
checker timeout value. It was looking at .../block/<devname>/timeout,
instead of  .../block/<devname>/device/timeout

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/discovery.c