b0ec4a42c8
Modify 0021-RHBZ-548874-add-find-multipaths.patch Modify 0022-RHBZ-557845-RHEL5-style-partitions.patch Add 0025-RHBZ-508827-update-multipathd-manpage.patch through 0101-RHBZ-631009-disable-udev-disk-rules-on-reload.patch * sync with current state of RHEL6. Next release should include a updated source tarball with most of these fixes rolled in. Add 0102-RHBZ-690828-systemd-unit-file.patch * Add Jóhann B. Guðmundsson's unit file for systemd. * Add sub-package sysvinit for SysV init script. Resolves: bz #690828
20 lines
608 B
Diff
20 lines
608 B
Diff
---
|
|
libmultipath/discovery.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
Index: multipath-tools/libmultipath/discovery.c
|
|
===================================================================
|
|
--- multipath-tools.orig/libmultipath/discovery.c
|
|
+++ multipath-tools/libmultipath/discovery.c
|
|
@@ -859,6 +859,10 @@ get_state (struct path * pp, int daemon)
|
|
return PATH_PENDING;
|
|
checker_set_async(c);
|
|
}
|
|
+ if (!pp->sysdev) {
|
|
+ condlog(2, "%s: no sysfs information", pp->dev);
|
|
+ return PATH_DOWN;
|
|
+ }
|
|
if (!conf->checker_timeout)
|
|
sysfs_get_timeout(pp->sysdev, &(c->timeout));
|
|
state = checker_check(c);
|