From patchwork Sun Aug 28 22:41:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9302989 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 C588C601C0 for ; Sun, 28 Aug 2016 22:45:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A93BA2874B for ; Sun, 28 Aug 2016 22:45:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84314286E3; Sun, 28 Aug 2016 22:45:01 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D549286E3 for ; Sun, 28 Aug 2016 22:45:00 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7SMfAWv014769; Sun, 28 Aug 2016 18:41:10 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7SMf9MV015209 for ; Sun, 28 Aug 2016 18:41:09 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7SMf9rb020591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 28 Aug 2016 18:41:09 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2C93313D10 for ; Sun, 28 Aug 2016 22:41:08 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id q128so7273673wma.1 for ; Sun, 28 Aug 2016 15:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DCCUnRCQcBzs8930Jabr5AQmPDnL3C3Hzzpo00T0TC4=; b=WNREp/CcMjParELxWlrblON6s7zER5JZ5ZUZOWIAjy/oPNT0iWgdH7lkmJ41kWVzkc 3WpCCJG8YB5vCry3jfvEuybqsuvebmQXEamFpwW0N32tTZphLFK/JHAoNQs/RtxKGN87 7vTy5hpfZ1nljXQlttlIkKp0ylKSp4sJNKmdFIsePYjuMPnD7eQTqyo0XwxQ8EKZ124o CdFenkyngaXw8RGx98Cle2aWngl1lvJJX9ji8HZTPoLivaIGT4hGaiBE8U53oO2hJY/S NA9IUAkJzSS9ZQmM+MLRA99Xz1/wHBD9ADznjTnOjDkmtxS0p/PB+QaQ0bi7vQ6sBCMj x7EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DCCUnRCQcBzs8930Jabr5AQmPDnL3C3Hzzpo00T0TC4=; b=F5u42tGPUmJ/58uH9tNZQ3sjqS8OOIAa86AU47R6GgjLV6RZDuN85aZEg0Bq7ljG39 Hs8GHkD+lClHl1NXHXl87JmsGcLlELiFQ7i1eldHs50bkOFf3aPQq/51XId+eNSPgLT5 gBcCtLZNM5q+fxe1GuVghDccr5RTDC+YfYTRFC33UVkOvm/KtD8sbSKjSiSYftVzF7hG RYhx4W6siIKrshwvktQTdNzSFH9RpohkGpuJityfy/F4cqU1x6ASOW5w0R7VTI/a0L8O e9q0K+VFOtgQ54KDojS4UfBCQhWrQelifvSg1FVgwC9FgmRYG5daSSOkjKH4jiE0rak/ DB0Q== X-Gm-Message-State: AE9vXwP9bvujtynpFNTlAATtCvxJNUwfa4FGmK39xIjhHphMX/mMaXvgXB8jf5XSs/8clQ== X-Received: by 10.28.46.204 with SMTP id u195mr7234920wmu.57.1472424066830; Sun, 28 Aug 2016 15:41:06 -0700 (PDT) Received: from localhost ([46.222.4.238]) by smtp.gmail.com with ESMTPSA id i8sm10495537wmg.21.2016.08.28.15.41.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Aug 2016 15:41:06 -0700 (PDT) From: Xose Vazquez Perez To: Date: Mon, 29 Aug 2016 00:41:04 +0200 Message-Id: <1472424064-9669-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sun, 28 Aug 2016 22:41:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sun, 28 Aug 2016 22:41:08 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: request to update man pages/TEMPLATE if "device subsection" keywords are changed X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk 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-Virus-Scanned: ClamAV using ClamSMTP and s/keywork/keyword Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/dict.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libmultipath/dict.c b/libmultipath/dict.c index e8c6804..7c21e72 100644 --- a/libmultipath/dict.c +++ b/libmultipath/dict.c @@ -1330,7 +1330,7 @@ snprint_deprecated (struct config *conf, char * buff, int len, void * data) #define __deprecated /* - * If you add or remove a keywork also update multipath/multipath.conf.5 + * If you add or remove a keyword also update multipath/multipath.conf.5 */ void init_keywords(vector keywords) @@ -1421,7 +1421,10 @@ init_keywords(vector keywords) __deprecated install_keyword("product", &ble_product_handler, &snprint_bled_product); __deprecated install_sublevel_end(); #endif - +/* + * If you add or remove a "device subsection" keyword also update + * multipath/multipath.conf.5 and the TEMPLATE in libmultipath/hwtable.c + */ install_keyword_root("devices", &devices_handler); install_keyword_multi("device", &device_handler, NULL); install_sublevel();