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