From 32220552d6a2be18b565e1d9b37cb3b705de25af Mon Sep 17 00:00:00 2001 From: Timothy Day Date: Sat, 2 Mar 2024 22:15:24 +0000 Subject: [PATCH] LU-6142 lnet: SPDX for lnet/lnet/ Convert from verbose license text to SDPX. Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I8ef4aaabdd0a0b89a60a9187756b451c67a43492 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54252 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Arshad Hussain Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lnet/lnet/Makefile.in | 6 ++++++ lnet/lnet/acceptor.c | 31 +++++-------------------------- lnet/lnet/api-ni.c | 31 +++++-------------------------- lnet/lnet/autoMakefile.am | 6 ++++++ lnet/lnet/config.c | 31 +++++-------------------------- lnet/lnet/lib-cpt.c | 20 +++----------------- lnet/lnet/lib-md.c | 32 +++++--------------------------- lnet/lnet/lib-me.c | 32 +++++--------------------------- lnet/lnet/lib-move.c | 32 +++++--------------------------- lnet/lnet/lib-msg.c | 32 +++++--------------------------- lnet/lnet/lib-ptl.c | 34 +++++----------------------------- lnet/lnet/lib-socket.c | 32 ++++++-------------------------- lnet/lnet/lnet_debugfs.c | 23 +++++------------------ lnet/lnet/lnet_rdma.c | 4 ++++ lnet/lnet/lo.c | 31 +++++-------------------------- lnet/lnet/lock.c | 20 +++----------------- lnet/lnet/module.c | 31 +++++-------------------------- lnet/lnet/net_fault.c | 34 +++++----------------------------- lnet/lnet/nidstrings.c | 32 +++++--------------------------- lnet/lnet/peer.c | 33 +++++---------------------------- lnet/lnet/router.c | 23 +++++------------------ lnet/lnet/udsp.c | 25 ++++++------------------- 22 files changed, 109 insertions(+), 466 deletions(-) diff --git a/lnet/lnet/Makefile.in b/lnet/lnet/Makefile.in index ec64cac..ec963c4 100644 --- a/lnet/lnet/Makefile.in +++ b/lnet/lnet/Makefile.in @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + MODULES := lnet lnet-objs-$(CONFIG_SMP) = lib-cpt.o diff --git a/lnet/lnet/acceptor.c b/lnet/lnet/acceptor.c index 7684152..0b01a7d 100644 --- a/lnet/lnet/acceptor.c +++ b/lnet/lnet/acceptor.c @@ -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) 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) 2011, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #define DEBUG_SUBSYSTEM S_LNET diff --git a/lnet/lnet/api-ni.c b/lnet/lnet/api-ni.c index 0dc9107..9cfe617 100644 --- a/lnet/lnet/api-ni.c +++ b/lnet/lnet/api-ni.c @@ -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) 2011, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #define DEBUG_SUBSYSTEM S_LNET diff --git a/lnet/lnet/autoMakefile.am b/lnet/lnet/autoMakefile.am index 02831ac..daf8386 100644 --- a/lnet/lnet/autoMakefile.am +++ b/lnet/lnet/autoMakefile.am @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# + if MODULES if LINUX diff --git a/lnet/lnet/config.c b/lnet/lnet/config.c index e7dece4..9fb59e8 100644 --- a/lnet/lnet/config.c +++ b/lnet/lnet/config.c @@ -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) 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, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #define DEBUG_SUBSYSTEM S_LNET diff --git a/lnet/lnet/lib-cpt.c b/lnet/lnet/lib-cpt.c index a8ae50e..5e4d2ab 100644 --- a/lnet/lnet/lib-cpt.c +++ b/lnet/lnet/lib-cpt.c @@ -1,23 +1,9 @@ -/* - * 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 + /* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2017, Intel Corporation. */ + /* This file is part of Lustre, http://www.lustre.org/ * * Please see comments in include/lnet/lib-cpt.h for introduction diff --git a/lnet/lnet/lib-md.c b/lnet/lnet/lib-md.c index 8d85b3e..c834d48 100644 --- a/lnet/lnet/lib-md.c +++ b/lnet/lnet/lib-md.c @@ -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/lnet/lib-md.c + +/* This file is part of Lustre, http://www.lustre.org/ * * Memory Descriptor management routines */ diff --git a/lnet/lnet/lib-me.c b/lnet/lnet/lib-me.c index 56b174d..31c2c4b 100644 --- a/lnet/lnet/lib-me.c +++ b/lnet/lnet/lib-me.c @@ -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, 2013, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/lnet/lib-me.c + +/* This file is part of Lustre, http://www.lustre.org/ * * Match Entry management routines */ diff --git a/lnet/lnet/lib-move.c b/lnet/lnet/lib-move.c index d405aff..76c0ff7 100644 --- a/lnet/lnet/lib-move.c +++ b/lnet/lnet/lib-move.c @@ -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/lnet/lib-move.c + +/* This file is part of Lustre, http://www.lustre.org/ * * Data movement routines */ diff --git a/lnet/lnet/lib-msg.c b/lnet/lnet/lib-msg.c index 2988b59..abe4512 100644 --- a/lnet/lnet/lib-msg.c +++ b/lnet/lnet/lib-msg.c @@ -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/lnet/lib-msg.c + +/* This file is part of Lustre, http://www.lustre.org/ * * Message decoding, parsing and finalizing routines */ diff --git a/lnet/lnet/lib-ptl.c b/lnet/lnet/lib-ptl.c index 685a533..955b45c 100644 --- a/lnet/lnet/lib-ptl.c +++ b/lnet/lnet/lib-ptl.c @@ -1,32 +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). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 021110-1307, USA - * - * GPL HEADER END - */ -/* - * Copyright (c) 2012, 2017, Intel Corporation. - */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/lnet/lib-ptl.c +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2012, 2017, Intel Corporation. */ + +/* This file is part of Lustre, http://www.lustre.org/ * * portal & match routines * diff --git a/lnet/lnet/lib-socket.c b/lnet/lnet/lib-socket.c index 4d56448..cf533b3 100644 --- a/lnet/lnet/lib-socket.c +++ b/lnet/lnet/lib-socket.c @@ -1,33 +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) 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) 2015, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ + #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lnet/lnet/lnet_debugfs.c b/lnet/lnet/lnet_debugfs.c index 0373b07..79b3456 100644 --- a/lnet/lnet/lnet_debugfs.c +++ b/lnet/lnet/lnet_debugfs.c @@ -1,25 +1,12 @@ -/* - * 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. - * - * 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. - * */ +/* This file is part of Lustre, http://www.lustre.org/ */ + #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lnet/lnet/lnet_rdma.c b/lnet/lnet/lnet_rdma.c index c598a1f..671be86 100644 --- a/lnet/lnet/lnet_rdma.c +++ b/lnet/lnet/lnet_rdma.c @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This file is part of Lustre, http://www.lustre.org/ */ + #ifdef WITH_GDS #include "nvfs-dma.h" #else diff --git a/lnet/lnet/lo.c b/lnet/lnet/lo.c index d4c9ed1..934686e 100644 --- a/lnet/lnet/lo.c +++ b/lnet/lnet/lo.c @@ -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) 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) 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lnet/lnet/lock.c b/lnet/lnet/lock.c index 721d56d..5b08669 100644 --- a/lnet/lnet/lock.c +++ b/lnet/lnet/lock.c @@ -1,23 +1,9 @@ -/* - * 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 + /* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2015, Intel Corporation. */ + /* This file is part of Lustre, http://www.lustre.org/ * * Author: liang@whamcloud.com diff --git a/lnet/lnet/module.c b/lnet/lnet/module.c index b58263f..7802702 100644 --- a/lnet/lnet/module.c +++ b/lnet/lnet/module.c @@ -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) 2004, 2010, Oracle and/or its affiliates. All rights reserved. +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2004, 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/ */ #define DEBUG_SUBSYSTEM S_LNET diff --git a/lnet/lnet/net_fault.c b/lnet/lnet/net_fault.c index f66a6df..5f165a1 100644 --- a/lnet/lnet/net_fault.c +++ b/lnet/lnet/net_fault.c @@ -1,32 +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). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 021110-1307, USA - * - * GPL HEADER END - */ -/* - * Copyright (c) 2014, 2017, Intel Corporation. - */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/lnet/net_fault.c +// SPDX-License-Identifier: GPL-2.0 + +/* Copyright (c) 2014, 2017, Intel Corporation. */ + +/* This file is part of Lustre, http://www.lustre.org/ * * Lustre network fault simulation * diff --git a/lnet/lnet/nidstrings.c b/lnet/lnet/nidstrings.c index 02fb117..e77c565 100644 --- a/lnet/lnet/nidstrings.c +++ b/lnet/lnet/nidstrings.c @@ -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) 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) 2011, 2015, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/lnet/nidstrings.c + +/* This file is part of Lustre, http://www.lustre.org/ * * Author: Phil Schwan */ diff --git a/lnet/lnet/peer.c b/lnet/lnet/peer.c index 1f6d92d..8b4540a 100644 --- a/lnet/lnet/peer.c +++ b/lnet/lnet/peer.c @@ -1,35 +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, 2017, Intel Corporation. */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * - * lnet/lnet/peer.c - */ + +/* This file is part of Lustre, http://www.lustre.org/ */ #define DEBUG_SUBSYSTEM S_LNET diff --git a/lnet/lnet/router.c b/lnet/lnet/router.c index 4daae66..f608e49 100644 --- a/lnet/lnet/router.c +++ b/lnet/lnet/router.c @@ -1,25 +1,12 @@ -/* - * 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. - * - * 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. - * */ +/* This file is part of Lustre, http://www.lustre.org/ */ + #define DEBUG_SUBSYSTEM S_LNET #include diff --git a/lnet/lnet/udsp.c b/lnet/lnet/udsp.c index 508b81a..47ac834 100644 --- a/lnet/lnet/udsp.c +++ b/lnet/lnet/udsp.c @@ -1,26 +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 - * - * lnet/lnet/udsp.c + */ + +/* This file is part of Lustre, http://www.lustre.org/ * * User Defined Selection Policies (UDSP) are introduced to add * ability of fine traffic control. The policies are instantiated -- 1.8.3.1