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