Blame SOURCES/0053-UP-fix-failback.patch
|
|
38852f |
---
|
|
|
38852f |
libmultipath/dict.c | 6 +++---
|
|
|
38852f |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
38852f |
|
|
|
38852f |
Index: multipath-tools-130222/libmultipath/dict.c
|
|
|
38852f |
===================================================================
|
|
|
38852f |
--- multipath-tools-130222.orig/libmultipath/dict.c
|
|
|
38852f |
+++ multipath-tools-130222/libmultipath/dict.c
|
|
|
38852f |
@@ -1126,11 +1126,11 @@ hw_failback_handler(vector strvec)
|
|
|
38852f |
|
|
|
38852f |
buff = set_value(strvec);
|
|
|
38852f |
|
|
|
38852f |
- if (strlen(buff) == 6 && !strcmp(buff, "\"manual\""))
|
|
|
38852f |
+ if (strlen(buff) == 6 && !strcmp(buff, "manual"))
|
|
|
38852f |
hwe->pgfailback = -FAILBACK_MANUAL;
|
|
|
38852f |
- else if (strlen(buff) == 9 && !strcmp(buff, "\"immediate\""))
|
|
|
38852f |
+ else if (strlen(buff) == 9 && !strcmp(buff, "immediate"))
|
|
|
38852f |
hwe->pgfailback = -FAILBACK_IMMEDIATE;
|
|
|
38852f |
- else if (strlen(buff) == 10 && !strcmp(buff, "\"followover\""))
|
|
|
38852f |
+ else if (strlen(buff) == 10 && !strcmp(buff, "followover"))
|
|
|
38852f |
hwe->pgfailback = -FAILBACK_FOLLOWOVER;
|
|
|
38852f |
else
|
|
|
38852f |
hwe->pgfailback = atoi(buff);
|