From patchwork Fri Oct 16 19:58:11 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: 54410 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 n9GJwR9j020263 for ; Fri, 16 Oct 2009 19:58:27 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 E6FCA618E92; Fri, 16 Oct 2009 15:58:26 -0400 (EDT) Received: from int-mx03.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 n9GJwPDc029207 for ; Fri, 16 Oct 2009 15:58:25 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.10]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9GJwPq2021050 for ; Fri, 16 Oct 2009 15:58:25 -0400 Received: from sourceware.org (sourceware.org [209.132.176.174]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id n9GJwBCW030766 for ; Fri, 16 Oct 2009 15:58:11 -0400 Received: (qmail 25779 invoked by uid 9475); 16 Oct 2009 19:58:11 -0000 Date: 16 Oct 2009 19:58:11 -0000 Message-ID: <20091016195811.25777.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.16 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.10 X-loop: dm-devel@redhat.com Cc: Subject: [dm-devel] multipath-tools devmap_name/devmap_name.c kpar ... 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 --- multipath-tools/devmap_name/devmap_name.c 2005/11/16 20:24:57 1.3 +++ multipath-tools/devmap_name/devmap_name.c 2009/10/16 19:58:10 1.3.2.1 @@ -6,7 +6,6 @@ #include #include #include -#include #include static void usage(char * progname) { --- multipath-tools/kpartx/devmapper.c 2009/01/19 22:34:01 1.6.2.3 +++ multipath-tools/kpartx/devmapper.c 2009/10/16 19:58:10 1.6.2.4 @@ -7,7 +7,6 @@ #include #include #include -#include #include #include "devmapper.h" --- multipath-tools/kpartx/devmapper.h 2009/01/19 22:34:01 1.3.2.3 +++ multipath-tools/kpartx/devmapper.h 2009/10/16 19:58:10 1.3.2.4 @@ -1,3 +1,7 @@ +#define MAJOR(dev) ((dev & 0xfff00) >> 8) +#define MINOR(dev) ((dev & 0xff) | ((dev >> 12) & 0xfff00)) +#define MKDEV(ma,mi) ((mi & 0xff) | (ma << 8) | ((mi & ~0xff) << 12)) + int dm_prereq (char *, int, int, int); int dm_simplecmd (int, const char *); int dm_addmap (int, const char *, const char *, const char *, uint64_t, --- multipath-tools/kpartx/kpartx.c 2009/01/19 22:34:01 1.7.2.4 +++ multipath-tools/kpartx/kpartx.c 2009/10/16 19:58:10 1.7.2.5 @@ -30,7 +30,6 @@ #include #include #include -#include #include "devmapper.h" #include "crc32.h"