[PATCH] multipath: fix fast_io_fail_tmo typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The name of the sysfs file is actually fast_io_fail_tmo, not fast_io_fail

Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
---
 libmultipath/discovery.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: multipath-tools-100510/libmultipath/discovery.c
===================================================================
--- multipath-tools-100510.orig/libmultipath/discovery.c
+++ multipath-tools-100510/libmultipath/discovery.c
@@ -233,7 +233,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;
 		}

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux