summaryrefslogtreecommitdiffstats
path: root/0042-RHBZ-590038-fix-fast-io-fail-tmo.patch
blob: f3ea001602d60a769f2e895b2b7688ba5b076008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 libmultipath/discovery.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: multipath-tools/libmultipath/discovery.c
===================================================================
--- multipath-tools.orig/libmultipath/discovery.c
+++ multipath-tools/libmultipath/discovery.c
@@ -258,7 +258,7 @@ sysfs_set_scsi_tmo (struct multipath *mp
 				sprintf(value, "off");
 			else
 				snprintf(value, 11, "%u", mpp->fast_io_fail);
-			if (sysfs_attr_set_value(attr_path, "fast_io_fail",
+			if (sysfs_attr_set_value(attr_path, "fast_io_fail_tmo",
 						 value))
 				return 1;
 		}