* [PATCH] multipath: fix fast_io_fail_tmo typo
@ 2010-05-20 3:57 Benjamin Marzinski
0 siblings, 0 replies; only message in thread
From: Benjamin Marzinski @ 2010-05-20 3:57 UTC (permalink / raw)
To: device-mapper development
The name of the sysfs file is actually fast_io_fail_tmo, not fast_io_fail
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-20 3:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 3:57 [PATCH] multipath: fix fast_io_fail_tmo typo Benjamin Marzinski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.