multipath-tools/libmultipath discovery.c

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

 



CVSROOT:	/cvs/dm
Module name:	multipath-tools
Changes by:	bmarzins@xxxxxxxxxxxxxx	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);
 

--
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