Skip to contentSkip to conversation

multipath-tools/libmultipath configure.c

PATCH [email protected] 1 participant 1 message Sep 28, 2009 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2009-09-28 16:30:27

Modified files:
libmultipath : configure.c

Log message:
Fix bz#501019. Fix incorrect multipath output in dry-run.

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

libmultipath/configure.c +1 -1
@@ -139,7 +139,7 @@
 	if (!cmpp) {
 		cmpp = find_mp_by_wwid(curmp, mpp->wwid);
 
-		if (cmpp && !conf->dry_run) {
+		if (cmpp) {
 			condlog(2, "%s: rename %s to %s", mpp->wwid,
 				cmpp->alias, mpp->alias);
 			strncpy(mpp->alias_old, cmpp->alias, WWID_SIZE);