From: Timothy Day Date: Sat, 2 Mar 2024 22:00:47 +0000 (+0000) Subject: LU-6142 lnet: SPDX for lnet/include/ and misc files X-Git-Tag: 2.15.63~59 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c9a7728476087b99ebf1962e6201d3ee71e683d8;p=fs%2Flustre-release.git LU-6142 lnet: SPDX for lnet/include/ and misc files Convert from verbose license text to SDPX. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: Iad6b111df015cbe524ff0cad9f2a2efc446c2692 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54251 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lnet/Makefile.in b/lnet/Makefile.in index ae325de..a501e60 100644 --- a/lnet/Makefile.in +++ b/lnet/Makefile.in @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# lnet-subdirs += lnet/ lnet-subdirs += klnds/ diff --git a/lnet/autoMakefile.am b/lnet/autoMakefile.am index 65b50cc..3e87f21 100644 --- a/lnet/autoMakefile.am +++ b/lnet/autoMakefile.am @@ -1,24 +1,4 @@ -# -# GPL HEADER START -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 only, -# 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 version 2 for more details (a copy is included -# in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU General Public License -# version 2 along with this program; If not, see -# http://www.gnu.org/licenses/gpl-2.0.html -# -# GPL HEADER END -# +# SPDX-License-Identifier: GPL-2.0 # # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. diff --git a/lnet/autoconf/Makefile.am b/lnet/autoconf/Makefile.am index 98dcf51..cfcffbc 100644 --- a/lnet/autoconf/Makefile.am +++ b/lnet/autoconf/Makefile.am @@ -1 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + EXTRA_DIST = lustre-lnet.m4 diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index e6d0560..9ab9d18 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + # LN_CONFIG_BACKOFF # # check if tunable tcp backoff is available/wanted diff --git a/lnet/doc/Makefile.am b/lnet/doc/Makefile.am index 02aaeb0..58a6682 100644 --- a/lnet/doc/Makefile.am +++ b/lnet/doc/Makefile.am @@ -3,10 +3,6 @@ # # This file is part of Lustre, http://www.lustre.org/ # -# lnet/doc/Makefile.am -# -# Automake file for lnet man pages -# MANFILES = \ lnetctl.8 \ diff --git a/lnet/doc/lnet.7 b/lnet/doc/lnet.7 index ab35855..04307e3 100644 --- a/lnet/doc/lnet.7 +++ b/lnet/doc/lnet.7 @@ -1,3 +1,5 @@ +.\" SPDX-License-Identifier: GPL-2.0 +. .TH LNET 7 "2023 Oct 8" LNet "Lustre networking layer" .SH NAME LNet diff --git a/lnet/doc/lnetctl.8 b/lnet/doc/lnetctl.8 index 98a077b..c818ec2 100644 --- a/lnet/doc/lnetctl.8 +++ b/lnet/doc/lnetctl.8 @@ -1,3 +1,4 @@ +.\" SPDX-License-Identifier: GPL-2.0 . .TH lnetctl 8 "2017 Jan 12" Lustre "configuration utilities" . diff --git a/lnet/doc/lst.8 b/lnet/doc/lst.8 index eda9eed..a318753 100644 --- a/lnet/doc/lst.8 +++ b/lnet/doc/lst.8 @@ -1,3 +1,5 @@ +.\" SPDX-License-Identifier: GPL-2.0 +. .TH lst 8 "2017 Jan 12" Lustre "configuration utilities" .SH NAME lst \- Start the Lustre LNET Self-test diff --git a/lnet/include/Makefile.am b/lnet/include/Makefile.am index a77866e..76c7fd8 100644 --- a/lnet/include/Makefile.am +++ b/lnet/include/Makefile.am @@ -1 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + SUBDIRS = lnet uapi/linux/lnet diff --git a/lnet/include/lnet/Makefile.am b/lnet/include/lnet/Makefile.am index 609dd3e..b53c1d51 100644 --- a/lnet/include/lnet/Makefile.am +++ b/lnet/include/lnet/Makefile.am @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + EXTRA_DIST = \ api.h \ lib-cpt.h \ diff --git a/lnet/include/lnet/api.h b/lnet/include/lnet/api.h index 93510f4..c5db7f5 100644 --- a/lnet/include/lnet/api.h +++ b/lnet/include/lnet/api.h @@ -1,33 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2016, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #ifndef __LNET_API_H__ #define __LNET_API_H__ diff --git a/lnet/include/lnet/lib-lnet.h b/lnet/include/lnet/lib-lnet.h index 48443fa..8c6fda0 100644 --- a/lnet/include/lnet/lib-lnet.h +++ b/lnet/include/lnet/lib-lnet.h @@ -1,34 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/include/lnet/lib-lnet.h + +/* This file is part of Lustre, http://www.lustre.org/ * * Top level include for library side routines */ diff --git a/lnet/include/lnet/lib-types.h b/lnet/include/lnet/lib-types.h index fadaead..210de84 100644 --- a/lnet/include/lnet/lib-types.h +++ b/lnet/include/lnet/lib-types.h @@ -1,34 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/include/lnet/lib-types.h + +/* This file is part of Lustre, http://www.lustre.org/ * * Types used by the library side routines that do not need to be * exposed to the user application diff --git a/lnet/include/lnet/lnet_gds.h b/lnet/include/lnet/lnet_gds.h index f008125..0b5d410 100644 --- a/lnet/include/lnet/lnet_gds.h +++ b/lnet/include/lnet/lnet_gds.h @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This file is part of Lustre, http://www.lustre.org/ */ + #ifndef LUSTRE_NVFS_H #define LUSTRE_NVFS_H diff --git a/lnet/include/lnet/lnet_rdma.h b/lnet/include/lnet/lnet_rdma.h index 94b1704..64172de 100644 --- a/lnet/include/lnet/lnet_rdma.h +++ b/lnet/include/lnet/lnet_rdma.h @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This file is part of Lustre, http://www.lustre.org/ */ + #ifndef LNET_RDMA_H #define LNET_RDMA_H diff --git a/lnet/include/lnet/lock.h b/lnet/include/lnet/lock.h index 5364d2f..e5e431c 100644 --- a/lnet/include/lnet/lock.h +++ b/lnet/include/lnet/lock.h @@ -1,22 +1,8 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * GPL HEADER END - */ +// SPDX-License-Identifier: GPL-2.0 -/* percpu partition lock +/* This file is part of Lustre, http://www.lustre.org/ + * + * percpu partition lock * * There are some use-cases like this in Lustre: * . each CPU partition has it's own private data which is frequently changed, @@ -31,6 +17,7 @@ * . change on shared data needs to take _all_ private locks, * which is slow and should be really rare. */ + enum { CFS_PERCPT_LOCK_EX = -1, /* negative */ }; diff --git a/lnet/include/lnet/socklnd.h b/lnet/include/lnet/socklnd.h index ff1fe23..45d1cf1 100644 --- a/lnet/include/lnet/socklnd.h +++ b/lnet/include/lnet/socklnd.h @@ -1,33 +1,11 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/include/lnet/socklnd.h - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ + #ifndef __LNET_LNET_SOCKLND_H__ #define __LNET_LNET_SOCKLND_H__ diff --git a/lnet/include/lnet/udsp.h b/lnet/include/lnet/udsp.h index 5c1bef5..4e3eec0 100644 --- a/lnet/include/lnet/udsp.h +++ b/lnet/include/lnet/udsp.h @@ -1,24 +1,13 @@ -/* - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * * Copyright (c) 2011, 2017, Intel Corporation. * * Copyright (c) 2018-2020 Data Direct Networks. - * - * This file is part of Lustre, https://wiki.whamcloud.com/ - * - * Portals is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public - * License as published by the Free Software Foundation. - * - * Portals 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 - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html + */ + +/* This file is part of Lustre, http://www.lustre.org/ * * Author: Amir Shehata */ diff --git a/lnet/include/uapi/linux/lnet/Makefile.am b/lnet/include/uapi/linux/lnet/Makefile.am index b249e5c..2f5849b 100644 --- a/lnet/include/uapi/linux/lnet/Makefile.am +++ b/lnet/include/uapi/linux/lnet/Makefile.am @@ -1,24 +1,4 @@ -# -# GPL HEADER START -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 only, -# 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 version 2 for more details (a copy is included -# in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU General Public License -# version 2 along with this program; If not, see -# http://www.gnu.org/licenses/gpl-2.0.html -# -# GPL HEADER END -# +# SPDX-License-Identifier: GPL-2.0 # # Copyright (c) 2017, James Simmons @@ -26,7 +6,6 @@ # # This file is part of Lustre, http://www.lustre.org/ -# Lustre is a trademark of Seagate, Inc. # lnetincludedir = /usr/include/linux/lnet diff --git a/lnet/include/uapi/linux/lnet/libcfs_debug.h b/lnet/include/uapi/linux/lnet/libcfs_debug.h index 86e4660..26981c5 100644 --- a/lnet/include/uapi/linux/lnet/libcfs_debug.h +++ b/lnet/include/uapi/linux/lnet/libcfs_debug.h @@ -1,37 +1,14 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2014, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * libcfs/include/libcfs/libcfs_debug.h + +/* This file is part of Lustre, http://www.lustre.org/ * * Debug messages and assertions - * */ #ifndef __UAPI_LIBCFS_DEBUG_H__ diff --git a/lnet/include/uapi/linux/lnet/libcfs_ioctl.h b/lnet/include/uapi/linux/lnet/libcfs_ioctl.h index c2eff75..d004c3a 100644 --- a/lnet/include/uapi/linux/lnet/libcfs_ioctl.h +++ b/lnet/include/uapi/linux/lnet/libcfs_ioctl.h @@ -1,36 +1,15 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2013, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ + +/* This file is part of Lustre, http://www.lustre.org/ * * Low-level ioctl data structures. Kernel ioctl functions declared here, * and user space functions are in libcfs/util/ioctl.h. - * */ #ifndef __UAPI_LIBCFS_IOCTL_H__ diff --git a/lnet/include/uapi/linux/lnet/lnet-dlc.h b/lnet/include/uapi/linux/lnet/lnet-dlc.h index 99cd63f..e5b7b03 100644 --- a/lnet/include/uapi/linux/lnet/lnet-dlc.h +++ b/lnet/include/uapi/linux/lnet/lnet-dlc.h @@ -1,30 +1,8 @@ -/* - * LGPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This 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. - * - * This 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 this library. - * - * LGPL HEADER END - * - */ -/* - * Copyright (c) 2014, 2017, Intel Corporation. - */ -/* - * Author: Amir Shehata - */ +// SPDX-License-Identifier: LGPL-2.0 + +/* Copyright (c) 2014, 2017, Intel Corporation. */ + +/* Author: Amir Shehata */ #ifndef __UAPI_LNET_DLC_H_ #define __UAPI_LNET_DLC_H_ diff --git a/lnet/include/uapi/linux/lnet/lnet-idl.h b/lnet/include/uapi/linux/lnet/lnet-idl.h index 450c66a..39cdc60 100644 --- a/lnet/include/uapi/linux/lnet/lnet-idl.h +++ b/lnet/include/uapi/linux/lnet/lnet-idl.h @@ -1,33 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #ifndef __UAPI_LNET_IDL_H__ #define __UAPI_LNET_IDL_H__ diff --git a/lnet/include/uapi/linux/lnet/lnet-nl.h b/lnet/include/uapi/linux/lnet/lnet-nl.h index 8bc0317..a41fcae 100644 --- a/lnet/include/uapi/linux/lnet/lnet-nl.h +++ b/lnet/include/uapi/linux/lnet/lnet-nl.h @@ -1,24 +1,5 @@ -/* - * LGPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This 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. - * - * This 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 this library. - * - * LGPL HEADER END - * - */ +// SPDX-License-Identifier: LGPL-2.0 + /* Copyright (c) 2021, UT-Battelle, LLC * * Author: James Simmons diff --git a/lnet/include/uapi/linux/lnet/lnet-types.h b/lnet/include/uapi/linux/lnet/lnet-types.h index e90a610..10c6d9d 100644 --- a/lnet/include/uapi/linux/lnet/lnet-types.h +++ b/lnet/include/uapi/linux/lnet/lnet-types.h @@ -1,33 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #ifndef __UAPI_LNET_TYPES_H__ #define __UAPI_LNET_TYPES_H__ diff --git a/lnet/include/uapi/linux/lnet/lnetctl.h b/lnet/include/uapi/linux/lnet/lnetctl.h index bbbed82..bf86aed 100644 --- a/lnet/include/uapi/linux/lnet/lnetctl.h +++ b/lnet/include/uapi/linux/lnet/lnetctl.h @@ -1,24 +1,12 @@ -/* - * This file is part of Lustre, https://wiki.whamcloud.com/ - * - * Portals is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public - * License as published by the Free Software Foundation. - * - * Portals 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 Portals; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2014, 2017, Intel Corporation. */ + +/* This file is part of Lustre, http://www.lustre.org/ * * header for lnet ioctl */ -/* - * Copyright (c) 2014, 2017, Intel Corporation. - */ + #ifndef __UAPI_LNETCTL_H_ #define __UAPI_LNETCTL_H_ diff --git a/lnet/include/uapi/linux/lnet/lnetst.h b/lnet/include/uapi/linux/lnet/lnetst.h index 52d6fe0..cb3ac96 100644 --- a/lnet/include/uapi/linux/lnet/lnetst.h +++ b/lnet/include/uapi/linux/lnet/lnetst.h @@ -1,32 +1,12 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2012, 2016, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ + +/* This file is part of Lustre, http://www.lustre.org/ * * Author: Liang Zhen */ diff --git a/lnet/include/uapi/linux/lnet/nidstr.h b/lnet/include/uapi/linux/lnet/nidstr.h index 58cf09d..7f7781b 100644 --- a/lnet/include/uapi/linux/lnet/nidstr.h +++ b/lnet/include/uapi/linux/lnet/nidstr.h @@ -1,30 +1,13 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * Copyright (c) 2015, 2017, Intel Corporation. */ + +/* This file is part of Lustre, http://www.lustre.org/ */ + #ifndef _LNET_NIDSTRINGS_H #define _LNET_NIDSTRINGS_H diff --git a/lnet/include/uapi/linux/lnet/socklnd.h b/lnet/include/uapi/linux/lnet/socklnd.h index 2df2cf7..1ba43b0 100644 --- a/lnet/include/uapi/linux/lnet/socklnd.h +++ b/lnet/include/uapi/linux/lnet/socklnd.h @@ -1,33 +1,14 @@ -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * 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 version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ -/* - * This file is part of Lustre, http://www.lustre.org/ + +/* This file is part of Lustre, http://www.lustre.org/ * * #defines shared between socknal implementation and utilities */ + #ifndef __UAPI_LNET_SOCKLND_H__ #define __UAPI_LNET_SOCKLND_H__