[dm-devel] (no subject)

Xieyingtai xieyingtai at huawei.com
Tue Jun 28 10:54:20 UTC 2016


According to the process in select_checker() and get_state(), sysfs_get_timeout should return 1 in normal case.

---
libmultipath/discovery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c
index 126a54f..cd3443d 100644
--- a/libmultipath/discovery.c
+++ b/libmultipath/discovery.c
@@ -271,7 +271,7 @@ sysfs_get_timeout(struct path *pp, unsigned int *timeout)
   }
   *timeout = t;
-   return 0;
+   return 1;
}
 int
--
1.8.3.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160628/64ed5d47/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1065 bytes
Desc: image001.gif
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160628/64ed5d47/attachment.gif>


More information about the dm-devel mailing list