Blame SOURCES/0123-UPBZ-1166072-fix-path-offline.patch
|
|
4728c8 |
---
|
|
|
4728c8 |
libmultipath/discovery.c | 4 +---
|
|
|
4728c8 |
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
4728c8 |
|
|
|
4728c8 |
Index: multipath-tools-130222/libmultipath/discovery.c
|
|
|
4728c8 |
===================================================================
|
|
|
4728c8 |
--- multipath-tools-130222.orig/libmultipath/discovery.c
|
|
|
4728c8 |
+++ multipath-tools-130222/libmultipath/discovery.c
|
|
|
4728c8 |
@@ -946,9 +946,7 @@ path_offline (struct path * pp)
|
|
|
4728c8 |
|
|
|
4728c8 |
condlog(3, "%s: path state = %s", pp->dev, buff);
|
|
|
4728c8 |
|
|
|
4728c8 |
- if (!strncmp(buff, "offline", 7) ||
|
|
|
4728c8 |
- !strncmp(buff, "quiesce", 7) ||
|
|
|
4728c8 |
- !strncmp(buff, "transport-offline", 17)) {
|
|
|
4728c8 |
+ if (!strncmp(buff, "offline", 7)) {
|
|
|
4728c8 |
pp->offline = 1;
|
|
|
4728c8 |
return PATH_DOWN;
|
|
|
4728c8 |
}
|