From patchwork Fri Mar 30 03:37:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Marzinski X-Patchwork-Id: 10316823 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 269A660467 for ; Fri, 30 Mar 2018 03:37:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 180D0292E3 for ; Fri, 30 Mar 2018 03:37:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C2832971D; Fri, 30 Mar 2018 03:37:38 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 2C9AA292E3 for ; Fri, 30 Mar 2018 03:37:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6FECE2812B; Fri, 30 Mar 2018 03:37:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F9F664443; Fri, 30 Mar 2018 03:37:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 25B594CA9D; Fri, 30 Mar 2018 03:37:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2U3bIqL022663 for ; Thu, 29 Mar 2018 23:37:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id 533B2215CDCA; Fri, 30 Mar 2018 03:37:18 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from redhat.com (octiron.msp.redhat.com [10.15.80.209]) by smtp.corp.redhat.com (Postfix) with SMTP id 60B42215CDC6; Fri, 30 Mar 2018 03:37:16 +0000 (UTC) Received: by redhat.com (sSMTP sendmail emulation); Thu, 29 Mar 2018 22:37:16 -0500 From: "Benjamin Marzinski" To: device-mapper development Date: Thu, 29 Mar 2018 22:37:02 -0500 Message-Id: <1522381023-15262-6-git-send-email-bmarzins@redhat.com> In-Reply-To: <1522381023-15262-1-git-send-email-bmarzins@redhat.com> References: <1522381023-15262-1-git-send-email-bmarzins@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: dm-devel@redhat.com Cc: Xose Vazquez Perez , "tang.junhui" , Gris Ge , Bart Van Assche , Martin Wilck Subject: [dm-devel] [PATCH 5/6] mpathcmd: fix libmpathcmd license 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-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 30 Mar 2018 03:37:35 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP There is no version 2 of the GNU Lesser General Public License, so change the license header to version 2.1, which does exist. Also copy the license header to mpath_cmd.c. I've CC'ed everyone who has contributed code to libmpathcmd. Cc: Xose Vazquez Perez Cc: Hannes Reinecke Cc: Bart Van Assche Cc: Martin Wilck Cc: tang.junhui Cc: Gris Ge Signed-off-by: Benjamin Marzinski Acked-by: Martin Wilck --- libmpathcmd/mpath_cmd.c | 19 +++++++++++++++++++ libmpathcmd/mpath_cmd.h | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/libmpathcmd/mpath_cmd.c b/libmpathcmd/mpath_cmd.c index 29d148c..61e6a98 100644 --- a/libmpathcmd/mpath_cmd.c +++ b/libmpathcmd/mpath_cmd.c @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2015 Red Hat, Inc. + * + * This file is part of the device-mapper multipath userspace tools. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h index b57b708..aaa8da9 100644 --- a/libmpathcmd/mpath_cmd.h +++ b/libmpathcmd/mpath_cmd.h @@ -5,7 +5,7 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2 + * as published by the Free Software Foundation; either version 2.1 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful,