]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - multipath-tools/patches/0065-UPBZ-995538-fail-rdac-on-unavailable.patch
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / multipath-tools / patches / 0065-UPBZ-995538-fail-rdac-on-unavailable.patch
1 ---
2 libmultipath/checkers/rdac.c | 5 ++---
3 1 file changed, 2 insertions(+), 3 deletions(-)
4
5 Index: multipath-tools-130222/libmultipath/checkers/rdac.c
6 ===================================================================
7 --- multipath-tools-130222.orig/libmultipath/checkers/rdac.c
8 +++ multipath-tools-130222/libmultipath/checkers/rdac.c
9 @@ -222,10 +222,9 @@ libcheck_check (struct checker * c)
10 goto done;
11 }
12
13 - /* check if controller is in service mode */
14 + /* check if controller is reporting asymmetric access state of unavailable */
15 if ((inq.avtcvp & 0x10) &&
16 - ((inq.asym_access_state_cur & 0x0F) == 0x3) &&
17 - (inq.vendor_specific_cur == 0x7)) {
18 + ((inq.asym_access_state_cur & 0x0F) == 0x3)) {
19 ret = PATH_DOWN;
20 goto done;
21 }