From patchwork Tue Mar 28 23:13:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 9650631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BE687602C8 for ; Tue, 28 Mar 2017 23:19:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE3992844E for ; Tue, 28 Mar 2017 23:19:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A316328452; Tue, 28 Mar 2017 23:19:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 617552844E for ; Tue, 28 Mar 2017 23:19:08 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5952C21DFA8E1; Tue, 28 Mar 2017 16:19:08 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4210221DFA91C for ; Tue, 28 Mar 2017 16:19:07 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP; 28 Mar 2017 16:19:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,238,1486454400"; d="scan'208";a="82075175" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.125]) by fmsmga006.fm.intel.com with ESMTP; 28 Mar 2017 16:19:06 -0700 Subject: [ndctl PATCH 1/6] ndctl: drop "builtin" prefix from source file names From: Dan Williams To: linux-nvdimm@lists.01.org Date: Tue, 28 Mar 2017 16:13:57 -0700 Message-ID: <149074283709.18735.7744448841642627131.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <149074283171.18735.16381597942269607973.stgit@dwillia2-desk3.amr.corp.intel.com> References: <149074283171.18735.16381597942269607973.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP The "builtin" designation is a hold over from the initial duplication of git infrastructure where builtin commands are differentiated from shell helper commands. Since ndctl only has the former the prefix is not useful. Signed-off-by: Dan Williams --- ndctl/Makefile.am | 16 ++++++++-------- ndctl/bat.c | 0 ndctl/check.c | 0 ndctl/create-nfit.c | 0 ndctl/dimm.c | 0 ndctl/list.c | 0 ndctl/namespace.c | 0 ndctl/region.c | 0 ndctl/test.c | 0 test/Makefile.am | 8 ++++---- 10 files changed, 12 insertions(+), 12 deletions(-) rename ndctl/{builtin-bat.c => bat.c} (100%) rename ndctl/{builtin-check.c => check.c} (100%) rename ndctl/{builtin-create-nfit.c => create-nfit.c} (100%) rename ndctl/{builtin-dimm.c => dimm.c} (100%) rename ndctl/{builtin-list.c => list.c} (100%) rename ndctl/{builtin-xaction-namespace.c => namespace.c} (100%) rename ndctl/{builtin-xable-region.c => region.c} (100%) rename ndctl/{builtin-test.c => test.c} (100%) diff --git a/ndctl/Makefile.am b/ndctl/Makefile.am index f9158d9cce63..d346c041d74b 100644 --- a/ndctl/Makefile.am +++ b/ndctl/Makefile.am @@ -3,14 +3,14 @@ include $(top_srcdir)/Makefile.am.in bin_PROGRAMS = ndctl ndctl_SOURCES = ndctl.c \ - builtin-create-nfit.c \ - builtin-xaction-namespace.c \ - builtin-check.c \ - builtin-xable-region.c \ - builtin-dimm.c \ + create-nfit.c \ + namespace.c \ + check.c \ + region.c \ + dimm.c \ ../util/log.c \ - builtin-list.c \ - builtin-test.c \ + list.c \ + test.c \ ../util/json.c if ENABLE_SMART @@ -20,7 +20,7 @@ endif if ENABLE_DESTRUCTIVE ndctl_SOURCES += ../test/blk_namespaces.c \ ../test/pmem_namespaces.c -ndctl_SOURCES += builtin-bat.c +ndctl_SOURCES += bat.c endif ndctl_LDADD =\ diff --git a/ndctl/builtin-bat.c b/ndctl/bat.c similarity index 100% rename from ndctl/builtin-bat.c rename to ndctl/bat.c diff --git a/ndctl/builtin-check.c b/ndctl/check.c similarity index 100% rename from ndctl/builtin-check.c rename to ndctl/check.c diff --git a/ndctl/builtin-create-nfit.c b/ndctl/create-nfit.c similarity index 100% rename from ndctl/builtin-create-nfit.c rename to ndctl/create-nfit.c diff --git a/ndctl/builtin-dimm.c b/ndctl/dimm.c similarity index 100% rename from ndctl/builtin-dimm.c rename to ndctl/dimm.c diff --git a/ndctl/builtin-list.c b/ndctl/list.c similarity index 100% rename from ndctl/builtin-list.c rename to ndctl/list.c diff --git a/ndctl/builtin-xaction-namespace.c b/ndctl/namespace.c similarity index 100% rename from ndctl/builtin-xaction-namespace.c rename to ndctl/namespace.c diff --git a/ndctl/builtin-xable-region.c b/ndctl/region.c similarity index 100% rename from ndctl/builtin-xable-region.c rename to ndctl/region.c diff --git a/ndctl/builtin-test.c b/ndctl/test.c similarity index 100% rename from ndctl/builtin-test.c rename to ndctl/test.c diff --git a/test/Makefile.am b/test/Makefile.am index 3fdd2272b4eb..969fe055b35e 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -79,8 +79,8 @@ device_dax_SOURCES = \ dax-dev.c \ dax-pmd.c \ $(testcore) \ - ../ndctl/builtin-xaction-namespace.c \ - ../ndctl/builtin-check.c \ + ../ndctl/namespace.c \ + ../ndctl/check.c \ ../util/json.c device_dax_LDADD = \ $(LIBNDCTL_LIB) \ @@ -91,8 +91,8 @@ device_dax_LDADD = \ multi_pmem_SOURCES = \ multi-pmem.c \ $(testcore) \ - ../ndctl/builtin-xaction-namespace.c \ - ../ndctl/builtin-check.c \ + ../ndctl/namespace.c \ + ../ndctl/check.c \ ../util/json.c multi_pmem_LDADD = \ $(LIBNDCTL_LIB) \