Convert from verbose license text to SPDX.
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I429de7ecee8bd42d83401b4ede3a00947ba65210
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55931
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
MODULES := kgnilnd
kgnilnd-objs := gnilnd.o gnilnd_cb.o gnilnd_modparams.o gnilnd_debug.o gnilnd_proc.o \
gnilnd_sysctl.o gnilnd_stack.o gnilnd_conn.o
+# SPDX-License-Identifier: GPL-2.0
+
+#
# Copyright (C) 2009 Cray, Inc.
#
-# This code is issued under the GNU General Public License.
-# See the file COPYING in this distribution
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
if MODULES
if BUILD_GNILND
-/* -*- c-basic-offset: 8; indent-tabs-mode: nil -*- */
-/*
- Contains the user interface to the GNI. Kernel and User level.
-
- Copyright 2007 Cray Inc. All Rights Reserved.
- Written by Igor Gorodetsky <igorodet@cray.com>
-
- 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.
+/* SPDX-License-Identifier: GPL-2.0 */
- 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.
+/* Copyright 2007 Cray Inc. All Rights Reserved. */
- 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 St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
+/* Contains the user interface to the GNI. Kernel and User level.
+ *
+ * Author: Igor Gorodetsky <igorodet@cray.com>
+ */
#ifndef _GNI_PUB_H_
#define _GNI_PUB_H_
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
*
* Copyright (c) 2013, 2017, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
+
#include "gnilnd.h"
static int
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
*
* Copyright (C) 2009-2012 Cray, Inc.
*
* Copyright (c) 2014, 2016, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Derived from work by: Eric Barton <eric@bartonsoftware.com>
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by: Eric Barton <eric@bartonsoftware.com>
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
+
#ifndef _GNILND_GNILND_H_
#define _GNILND_GNILND_H_
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- * Author: Nic Henke <nic@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
+ * Author: Nic Henke <nic@cray.com>
*/
+
#ifndef _GNILND_API_WRAP_H
#define _GNILND_API_WRAP_H
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc.
*
* Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>, James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>, James Shimek <jshimek@cray.com>
*/
+
#ifndef _GNILND_ARIES_H
#define _GNILND_ARIES_H
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
*
* Copyright (C) 2009-2012 Cray, Inc.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Derived from work by Eric Barton <eric@bartonsoftware.com>
- * Author: James Shimek <jshimek@cray.com>
- * Author: Nic Henke <nic@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by Eric Barton <eric@bartonsoftware.com>
+ * Author: James Shimek <jshimek@cray.com>
+ * Author: Nic Henke <nic@cray.com>
*/
#include <asm/page.h>
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
*
* Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
#include "gnilnd.h"
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- * Author: Nic Henke <nic@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
+ * Author: Nic Henke <nic@cray.com>
*/
+
#include "gnilnd.h"
void
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
+
#ifndef _GNILND_GEMINI_H
#define _GNILND_GEMINI_H
-/*
- * Copyright (C) 2009-2012 Cray, Inc.
- *
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2009-2012 Cray, Inc. */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
+
#ifndef _GNILND_HSS_OPS_H
#define _GNILND_HSS_OPS_H
-/*
- * Copyright (C) 2004 Cluster File Systems, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2004 Cluster File Systems, Inc.
*
* Copyright (C) 2009-2012 Cray, Inc.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Derived from work by: Eric Barton <eric@bartonsoftware.com>
- * Author: Nic Henke <nic@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Derived from work by: Eric Barton <eric@bartonsoftware.com>
+ * Author: Nic Henke <nic@cray.com>
*/
#include "gnilnd.h"
-/*
- * Copyright (C) 2009-2012, 2016 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2009-2012, 2016 Cray, Inc.
*
* Copyright (c) 2013, 2015, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
/* this code liberated and modified from lnet/lnet/router_proc.c */
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
*
* Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * Author: Nic Henke <nic@cray.com>
*/
+
#include "gnilnd.h"
#if defined(GNILND_USE_RCA)
#include <rsms/rs_sm_states.h>
-/*
- * Copyright (C) 2012 Cray, Inc.
+// SPDX-License-Identifier: GPL-2.0
+
+/* Copyright (C) 2012 Cray, Inc.
*
* Copyright (c) 2014, Intel Corporation.
+ */
+
+/* This file is part of Lustre, http://www.lustre.org.
*
- * Author: Nic Henke <nic@cray.com>
- * Author: James Shimek <jshimek@cray.com>
- *
- * This file is part of Lustre, http://www.lustre.org.
- *
- * Lustre 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.
- *
- * Lustre 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 Lustre; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Author: Nic Henke <nic@cray.com>
+ * Author: James Shimek <jshimek@cray.com>
*/
/* this code liberated and modified from Lustre */