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

[dm-devel] multipath-tools/libmultipath discovery.c



CVSROOT:	/cvs/dm
Module name:	multipath-tools
Changes by:	bmarzins sourceware org	2006-10-06 18:35:13

Modified files:
	libmultipath   : discovery.c 

Log message:
	fixing bz #207726, if sysfs_get_rev fails, don't completely abort all path
	checks.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/discovery.c.diff?cvsroot=dm&r1=1.30&r2=1.31

--- multipath-tools/libmultipath/discovery.c	2006/07/12 19:42:43	1.30
+++ multipath-tools/libmultipath/discovery.c	2006/10/06 18:35:13	1.31
@@ -470,7 +470,7 @@
 
 	if (sysfs_get_rev(sysfs_path, pp->dev,
 			  pp->rev, SCSI_REV_SIZE))
-		return 1;
+		pp->rev[0] = '\0';;
 
 	condlog(3, "%s: rev = %s", pp->dev, pp->rev);
 


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