Blame SOURCES/0016-RH-dont-print-ghost-messages.patch
|
|
671555 |
---
|
|
|
671555 |
libmultipath/discovery.c | 3 ++-
|
|
|
671555 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
671555 |
|
|
|
671555 |
Index: multipath-tools-130222/libmultipath/discovery.c
|
|
|
671555 |
===================================================================
|
|
|
671555 |
--- multipath-tools-130222.orig/libmultipath/discovery.c
|
|
|
671555 |
+++ multipath-tools-130222/libmultipath/discovery.c
|
|
|
671555 |
@@ -898,7 +898,8 @@ get_state (struct path * pp, int daemon)
|
|
|
671555 |
c->timeout = DEF_TIMEOUT;
|
|
|
671555 |
state = checker_check(c);
|
|
|
671555 |
condlog(3, "%s: state = %s", pp->dev, checker_state_name(state));
|
|
|
671555 |
- if (state != PATH_UP && strlen(checker_message(c)))
|
|
|
671555 |
+ if (state != PATH_UP && state != PATH_GHOST &&
|
|
|
671555 |
+ strlen(checker_message(c)))
|
|
|
671555 |
condlog(3, "%s: checker msg is \"%s\"",
|
|
|
671555 |
pp->dev, checker_message(c));
|
|
|
671555 |
return state;
|