multipath-tools: replace FSF licences boilerplate with a SPDX-License-Identifier
PATCH 1/1 multipath-tools: replace FSF licences boilerplate with a SPDX-License-Identifier
---
Missing:
util.c: maybe GPL-2.0-or-later ??? libmpathutil/util.c: * License: LGPL-2.1-or-later libmpathutil/util.c: * Code copied from busybox (GPLv2 or later)
ambiguous, only "GPL" !!!libmultipath/prioritizers/alua.c: * This file is released under the GPL. libmultipath/prioritizers/alua_rtpg.c: * This file is released under the GPL. libmultipath/prioritizers/alua_rtpg.h: * This file is released under the GPL. libmultipath/prioritizers/alua_spc3.h: * This file is released under the GPL. libmultipath/prioritizers/hds.c: * This file is released under the GPL. libmultipath/prioritizers/weightedpath.c: * This file is released under the GPL
--- kpartx/dasd.c | 14 +------------- kpartx/dasd.h | 14 +------------- kpartx/efi.h | 14 +------------- kpartx/gpt.c | 14 +------------- kpartx/gpt.h | 14 +------------- kpartx/kpartx_id | 7 +------ libdmmp/docs/doc-preclean.pl | 15 +-------------- libdmmp/libdmmp.c | 14 +------------- libdmmp/libdmmp/libdmmp.h | 14 +------------- libdmmp/libdmmp_misc.c | 14 +------------- libdmmp/libdmmp_mp.c | 14 +------------- libdmmp/libdmmp_path.c | 14 +------------- libdmmp/libdmmp_pg.c | 14 +------------- libdmmp/libdmmp_private.h | 14 +------------- libdmmp/test/libdmmp_speed_test.c | 14 +------------- libdmmp/test/libdmmp_test.c | 14 +------------- libmpathcmd/mpath_cmd.c | 14 +------------- libmpathcmd/mpath_cmd.h | 14 +------------- libmpathutil/msort.c | 16 ++-------------- libmpathutil/parser.c | 11 +---------- libmpathutil/parser.h | 11 +---------- libmpathutil/vector.c | 11 +---------- libmpathutil/vector.h | 11 +---------- libmpathvalid/mpath_valid.h | 14 +------------- libmultipath/alias.c | 13 +------------ libmultipath/checkers/cciss_tur.c | 14 +------------- libmultipath/dm-generic.c | 14 +------------- libmultipath/dm-generic.h | 14 +------------- libmultipath/file.c | 13 +------------ libmultipath/foreign.c | 14 +------------- libmultipath/foreign.h | 14 +------------- libmultipath/foreign/nvme.c | 14 +------------- libmultipath/generic.c | 14 +------------- libmultipath/generic.h | 14 +------------- libmultipath/io_err_stat.c | 3 +-- libmultipath/list.h | 3 +-- libmultipath/nvme/argconfig.h | 15 +-------------- libmultipath/nvme/linux/nvme.h | 10 +--------- libmultipath/nvme/linux/nvme_ioctl.h | 10 +--------- libmultipath/nvme/nvme.h | 10 +--------- libmultipath/prioritizers/ana.c | 3 +-- libmultipath/prioritizers/datacore.c | 4 +--- libmultipath/prioritizers/ontap.c | 10 +--------- libmultipath/prioritizers/path_latency.c | 3 +-- libmultipath/sysfs.c | 14 +------------- libmultipath/uevent.c | 14 +------------- libmultipath/valid.c | 14 +------------- libmultipath/valid.h | 14 +------------- libmultipath/version.h | 11 +---------- multipath/main.c | 11 +---------- tests/blacklist.c | 15 +-------------- tests/directio.c | 15 +-------------- tests/dmevents.c | 15 +-------------- tests/parser.c | 15 +-------------- tests/pgpolicy.c | 15 +-------------- tests/uevent.c | 15 +-------------- tests/util.c | 15 +-------------- tests/valid.c | 15 +-------------- 58 files changed, 59 insertions(+), 668 deletions(-)
kpartx/dasd.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dasd.c *
@@ -7,19 +8,6 @@* * Copyright (c) 2005, Hannes Reinecke, SUSE Linux Products GmbH * Copyright IBM Corporation, 2009 -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _GNU_SOURCE
kpartx/dasd.h +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dasd.h *
@@ -7,19 +8,6 @@* * Copyright (c) 2005, Hannes Reinecke, SUSE Linux Products GmbH * Copyright IBM Corporation, 2009 -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DASD_H_INCLUDED
kpartx/efi.h +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* efi.[ch] - Manipulates EFI variables as exported in /proc/efi/vars Copyright (C) 2001 Dell Computer Corporation <[email protected]> - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef EFI_H_INCLUDED
kpartx/gpt.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* gpt.[ch]
@@ -6,19 +7,6 @@EFI GUID Partition Table handling Per Intel EFI Specification v1.02 http://developer.intel.com/technology/efi/efi.htm - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _FILE_OFFSET_BITS 64
kpartx/gpt.h +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* gpt.[ch]
@@ -6,19 +7,6 @@EFI GUID Partition Table handling Per Intel EFI Specification v1.02 http://developer.intel.com/technology/efi/efi.htm - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef GPT_H_INCLUDED
kpartx/kpartx_id +1 -6
@@ -1,5 +1,5 @@ #!/bin/sh -# +# SPDX-License-Identifier: GPL-2.0-only # kpartx_id # # Generates ID information for device-mapper tables.
@@ -8,11 +8,6 @@ # Author: # Hannes Reinecke <[email protected]> # -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation version 2 of the License. -# # This script generates ID information used to generate persistent symlinks. # It relies on the UUID strings generated by the various programs; the name # of the tables are of no consequence.
libdmmp/docs/doc-preclean.pl +1 -14
@@ -1,19 +1,6 @@ #!/usr/bin/perl +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (C) 2016 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# # Author: Gris Ge <[email protected]> use strict;
libdmmp/libdmmp.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp/libdmmp.h +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp_misc.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp_mp.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp_path.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp_pg.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/libdmmp_private.h +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> * Todd Gill <[email protected]> */
libdmmp/test/libdmmp_speed_test.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015-2016 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> */
libdmmp/test/libdmmp_test.c +1 -13
@@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015-2017 Red Hat, Inc. * -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -* * Author: Gris Ge <[email protected]> */
libmpathcmd/mpath_cmd.c +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * 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 <http://www.gnu.org/licenses/>. */ #include <stdlib.h>
libmpathcmd/mpath_cmd.h +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * 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 <http://www.gnu.org/licenses/>. */ #ifndef MPATH_CMD_H_INCLUDED
libmpathutil/msort.c +2 -14
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* An alternative to qsort, with an identical interface. This file is part of the GNU C Library. Copyright (C) 1992-2022 Free Software Foundation, Inc. - -The GNU C Library 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. - -The GNU C Library 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 the GNU C Library; if not, see -<https://www.gnu.org/licenses/>. */ +*/ #include <alloca.h> #include <stdint.h>
libmpathutil/parser.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Part: Configuration file parser/reader. Place into the dynamic * data structure representation the conf file
@@ -5,16 +6,6 @@* Version: $Id: parser.c,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <[email protected]> -* -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. */ #include <syslog.h>
libmpathutil/parser.h +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: Keepalived is a failover program for the LVS project * <www.linuxvirtualserver.org>. It monitor & manipulate
@@ -8,16 +9,6 @@* Version: $Id: parser.h,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <[email protected]> -* -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. */ #ifndef PARSER_H_INCLUDED
libmpathutil/vector.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Part: Vector structure manipulation. *
@@ -5,16 +6,6 @@* * Author: Alexandre Cassen, <[email protected]> * -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. -* * Copyright (c) 2002, 2003, 2004 Alexandre Cassen * Copyright (c) 2005 Christophe Varoqui */
libmpathutil/vector.h +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: Keepalived is a failover program for the LVS project * <www.linuxvirtualserver.org>. It monitor & manipulate
@@ -8,16 +9,6 @@* Version: $Id: vector.h,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <[email protected]> -* -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. */ #ifndef VECTOR_H_INCLUDED
libmpathvalid/mpath_valid.h +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.0-or-later /* * 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 -* 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 <http://www.gnu.org/licenses/>. */ #ifndef MPATH_VALID_H_INCLUDED
libmultipath/alias.c +1 -12
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat
@@ -30,18 +31,6 @@* significant parts of this file were taken from iscsi-bindings.c of the * linux-iscsi project. * Copyright (C) 2002 Cisco Systems, Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 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 -* General Public License for more details. -* -* See the file COPYING included with this distribution for more details. */ #define BINDINGS_FILE_HEADER \
libmultipath/checkers/cciss_tur.c +1 -13
@@ -1,21 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ***************************************************************************** * * * (C) Copyright 2007 Hewlett-Packard Development Company, L.P * * * -* This program is free software; you can redistribute it and/or modify it * -* under the terms of the GNU General Public License as published by the Free* -* Software Foundation; either version 2 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 General Public License * -* for more details. * -* * -* You should have received a copy of the GNU General Public License along * -* with this program. If not, see <http://www.gnu.org/licenses/>. * -* * ***************************************************************************** */
libmultipath/dm-generic.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <stdint.h>
libmultipath/dm-generic.h +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef DM_GENERIC_H_INCLUDED #define DM_GENERIC_H_INCLUDED
libmultipath/file.c +1 -12
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat
@@ -22,18 +23,6 @@* significant parts of this file were taken from iscsi-bindings.c of the * linux-iscsi project. * Copyright (C) 2002 Cisco Systems, Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 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 -* General Public License for more details. -* -* See the file COPYING included with this distribution for more details. */ int
libmultipath/foreign.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <sys/sysmacros.h>
libmultipath/foreign.h +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef FOREIGN_H_INCLUDED #define FOREIGN_H_INCLUDED
libmultipath/foreign/nvme.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "nvme-lib.h"
libmultipath/generic.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "generic.h"
libmultipath/generic.h +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef GENERIC_H_INCLUDED #define GENERIC_H_INCLUDED
libmultipath/io_err_stat.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017, All Rights Reserved. *
@@ -7,8 +8,6 @@* IO error stream statistic process for path failure event from kernel * * Author(s): Guan Junxiong 2017 <[email protected]> -* -* This file is released under the GPL version 2, or any later version. */ #include <unistd.h>
libmultipath/list.h +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copied from the Linux kernel source tree, version 2.6.0-test1. * -* Licensed under the GPL v2 as per the whole kernel source tree. -* */ #ifndef LIST_H_INCLUDED
libmultipath/nvme/argconfig.h +1 -14
@@ -1,21 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later //////////////////////////////////////////////////////////////////////// // // Copyright 2014 PMC-Sierra, Inc. // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// 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 General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
libmultipath/nvme/linux/nvme.h +1 -9
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express interface * Copyright (c) 2011-2014, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. */ #ifndef LINUX_NVME_H_INCLUDED
libmultipath/nvme/linux/nvme_ioctl.h +1 -9
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express ioctl interface * Copyright (c) 2011-2014, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. */ #ifndef LINUX_NVME_IOCTL_H_INCLUDED
libmultipath/nvme/nvme.h +1 -9
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express interface * Copyright (c) 2011-2014, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope it will be useful, but WITHOUT -* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -* more details. */ #ifndef NVME_NVME_H_INCLUDED
libmultipath/prioritizers/ana.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017 All Rights Reserved. *
@@ -9,8 +10,6 @@* * Author(s): Cheng Jike <[email protected]> * Li Jie <[email protected]> -* -* This file is released under the GPL version 2, or any later version. */ #include <stdio.h> #include <sys/ioctl.h>
libmultipath/prioritizers/datacore.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * (C) 2010 Christophe Varoqui * (C) 2009 Dembach Goo Informatik GmbH & Co KG
@@ -9,9 +10,6 @@* This program was inspired by work from * Matthias Rudolph <[email protected]> * -* This work is made available on the basis of the -* GPLv2 for details see <http://www.gnu.org/licenses/>. -* * Manon Goo 2009 * *
libmultipath/prioritizers/ontap.c +1 -9
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2005 Network Appliance, Inc., All Rights Reserved * Author: David Wysochanski available at [email protected] -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* 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 -* General Public License v2 for more details. */ #include <stdio.h>
libmultipath/prioritizers/path_latency.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017, All Rights Reserved. *
@@ -16,8 +17,6 @@* * Author(s): Yang Feng <[email protected]> * Revised: Guan Junxiong <[email protected]> -* -* This file is released under the GPL version 2, or any later version. */ #define _GNU_SOURCE
libmultipath/sysfs.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2005-2006 Kay Sievers <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation version 2 of the License. -* -* 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 -* General Public License for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program. If not, see <http://www.gnu.org/licenses/>. -* */
libmultipath/uevent.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * uevent.c - trigger upon netlink uevents from the kernel *
@@ -7,19 +8,6 @@* gcc -I /lib/modules/`uname -r`/build/include -o uevent_listen uevent_listen.c * * Copyright (C) 2004 Kay Sievers <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation version 2 of the License. -* -* 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 -* General Public License for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program. If not, see <http://www.gnu.org/licenses/>. -* */ #include <unistd.h>
libmultipath/valid.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2020 Benjamin Marzinski, IBM - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <stddef.h> #include <errno.h>
libmultipath/valid.h +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2020 Benjamin Marzinski, IBM - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef VALID_H_INCLUDED #define VALID_H_INCLUDED
libmultipath/version.h +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: multipath device mapper target autoconfig *
@@ -5,16 +6,6 @@* * Author: Christophe Varoqui * -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. -* * Copyright (c) 2006 Christophe Varoqui */ #ifndef VERSION_H_INCLUDED
multipath/main.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: multipath device mapper target autoconfig *
@@ -5,16 +6,6 @@* * Author: Christophe Varoqui * -* 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 General Public License for more details. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version -* 2 of the License, or (at your option) any later version. -* * Copyright (c) 2003, 2004, 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat * Copyright (c) 2005 Kiyoshi Ueda, NEC
tests/blacklist.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #include <stdarg.h> #include <stddef.h>
tests/directio.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #define _GNU_SOURCE
tests/dmevents.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #include <pthread.h>
tests/parser.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 SUSE Linux GmbH -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #include <stdbool.h>
tests/pgpolicy.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #include <stdint.h>
tests/uevent.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 SUSE Linux GmbH -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #include <stdbool.h>
tests/util.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #define _GNU_SOURCE
tests/valid.c +1 -14
@@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2020 Benjamin Marzinski, Redhat -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* 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 General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <https://www.gnu.org/licenses/>. -* */ #define _GNU_SOURCE
Signature · 1 line
2.50.0
Quoted 6 lines · Xose Vazquez Perez
Cc Hannes Reinecke <[email protected]>Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>
Thanks!
Quoted 7 lines
---
Missing:
util.c: maybe GPL-2.0-or-later ???libmpathutil/util.c: * License: LGPL-2.1-or-laterlibmpathutil/util.c: * Code copied from busybox (GPLv2 or later)
Quoted 13 lines
ambiguous, only "GPL" !!!
libmultipath/prioritizers/alua.c: * This file is released under the GPL.libmultipath/prioritizers/alua_rtpg.c: * This file is released under the GPL.libmultipath/prioritizers/alua_rtpg.h: * This file is released under the GPL.libmultipath/prioritizers/alua_spc3.h: * This file is released under the GPL.libmultipath/prioritizers/hds.c: * This file is released under the GPL.libmultipath/prioritizers/weightedpath.c: * This file is released under the GPL
Please check my previous assessment again [1]:
IMO "GPL" without version should be interpreted as "any version of the GPL". As these parts of the code are combined with other code that's licensed under GPL-2.0-only or GPL-2.0-or-later, we should assume that the respective stricter variant applies to the combination(s).
The "default" license of the multipath-tools project is assumed to be the license of the first files that were added to Greg KH's udev.git repo [2], which was LGPL 2.0. We're assuming that files that don't include an explicit license statement inherit the LGPL-2.0 license from this first commit in the project.
As you noted, libmpathutil/util.c includes code snippets that were originally released with different licenses (albeit compatible ones). We should thus assume that the file itself is under the strictest of these licenses, which is GPL-2.0-or-later, AFAICS.
However, while I think these interpretations are plausible, I Am Not A Layer and I wouldn't want to add license headers to files that currently don't have one. I appreciate that your patch doesn't attempt to do that.
Regards,
Martin
[1] https://lore.kernel.org/dm-devel/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/hotplug/udev.git/commit/?id=04a091d47e32d6480b99424e41db093b013dfaf5