Skip to contentSkip to conversation

multipath-tools/libmultipath discovery.c

PATCH [email protected] 1 participant 1 message Jul 20, 2011 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2011-07-20 21:24:52

Modified files:
libmultipath : discovery.c

Log message:
Fix for BZ# 703501. Change to cciss sysfs handling. Not applicable upstream

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

libmultipath/discovery.c +1 -2
@@ -817,8 +817,7 @@
 		return 1;
 	}
 
-	if(safe_sprintf(dev_path, "%s/device/cciss%u/c%ud%u", curpath->dev,
-			controller, controller, lun)) {
+	if(safe_sprintf(dev_path, "%s/device", curpath->dev)) {
 		condlog(0, "dev_path too small");
 		return 1;
 	}