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