From patchwork Mon Sep 28 16:30:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bmarzins@sourceware.org X-Patchwork-Id: 50420 X-Patchwork-Delegate: bmarzins@redhat.com Received: from hormel.redhat.com (hormel1.redhat.com [209.132.177.33]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8SGUkb3008385 for ; Mon, 28 Sep 2009 16:30:47 GMT Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110]) by hormel.redhat.com (Postfix) with ESMTP id 78EFE61A32E; Mon, 28 Sep 2009 12:30:46 -0400 (EDT) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (nat-pool.util.phx.redhat.com [10.8.5.200]) by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id n8SGUi5l020644 for ; Mon, 28 Sep 2009 12:30:44 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.10]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8SGUhSj019102 for ; Mon, 28 Sep 2009 12:30:44 -0400 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id n8SGUTLD023872 for ; Mon, 28 Sep 2009 12:30:30 -0400 Received: (qmail 24862 invoked by uid 9475); 28 Sep 2009 16:30:28 -0000 Date: 28 Sep 2009 16:30:28 -0000 Message-ID: <20090928163028.24860.qmail@sourceware.org> From: bmarzins@sourceware.org To: dm-cvs@sourceware.org, dm-devel@redhat.com X-RedHat-Spam-Score: -4 (RCVD_IN_DNSWL_MED) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.10 X-loop: dm-devel@redhat.com Cc: Subject: [dm-devel] multipath-tools/libmultipath configure.c X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.5 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com CVSROOT: /cvs/dm Module name: multipath-tools Branch: RHEL5_FC6 Changes by: bmarzins@sourceware.org 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 --- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel --- multipath-tools/libmultipath/configure.c 2008/09/19 03:27:08 1.2.2.4 +++ multipath-tools/libmultipath/configure.c 2009/09/28 16:30:27 1.2.2.5 @@ -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);