From patchwork Wed Jul 20 21:24:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bmarzins@sourceware.org X-Patchwork-Id: 993132 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6KLR2GX013410 for ; Wed, 20 Jul 2011 21:27:23 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6KLP102009556; Wed, 20 Jul 2011 17:25:02 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p6KLP04c030122 for ; Wed, 20 Jul 2011 17:25:00 -0400 Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6KLOtp4008038 for ; Wed, 20 Jul 2011 17:24:55 -0400 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by mx1.redhat.com (8.14.4/8.14.4) with SMTP id p6KLOrUM002614 for ; Wed, 20 Jul 2011 17:24:53 -0400 Received: (qmail 6406 invoked by uid 9475); 20 Jul 2011 21:24:52 -0000 Date: 20 Jul 2011 21:24:52 -0000 Message-ID: <20110720212452.6404.qmail@sourceware.org> From: bmarzins@sourceware.org To: dm-cvs@sourceware.org, dm-devel@redhat.com X-RedHat-Spam-Score: -3.493 (RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Scanned-By: MIMEDefang 2.68 on 10.5.110.19 X-loop: dm-devel@redhat.com Subject: [dm-devel] multipath-tools/libmultipath discovery.c X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 20 Jul 2011 21:27:23 +0000 (UTC) CVSROOT: /cvs/dm Module name: multipath-tools Branch: RHEL5_FC6 Changes by: bmarzins@sourceware.org 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 --- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel --- multipath-tools/libmultipath/discovery.c 2011/04/05 18:41:45 1.32.2.20 +++ multipath-tools/libmultipath/discovery.c 2011/07/20 21:24:52 1.32.2.21 @@ -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; }