xfs: Use the correct style for SPDX License Identifier
authorNishad Kamdar <nishadkamdar@gmail.com>
Tue, 12 May 2020 23:54:17 +0000 (16:54 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 13 May 2020 22:32:45 +0000 (15:32 -0700)
This patch corrects the SPDX License Identifier style in header files
related to XFS File System support. For C header files
Documentation/process/license-rules.rst mandates C-like comments.
(opposed to C source files where C++ style should be used).

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
21 files changed:
fs/xfs/kmem.h
fs/xfs/libxfs/xfs_ag_resv.h
fs/xfs/libxfs/xfs_alloc.h
fs/xfs/libxfs/xfs_alloc_btree.h
fs/xfs/libxfs/xfs_attr.h
fs/xfs/libxfs/xfs_attr_leaf.h
fs/xfs/libxfs/xfs_attr_remote.h
fs/xfs/libxfs/xfs_attr_sf.h
fs/xfs/libxfs/xfs_bit.h
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/libxfs/xfs_bmap_btree.h
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_da_btree.h
fs/xfs/libxfs/xfs_da_format.h
fs/xfs/libxfs/xfs_defer.h
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/libxfs/xfs_dir2_priv.h
fs/xfs/libxfs/xfs_errortag.h
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_fs.h
fs/xfs/libxfs/xfs_health.h

index 6143117770e93abe81f0ddba24a02a1aa85af38a..fc87ea9f68439e073c530c6416a029dd6752f0df 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index c0352edc8e414e009be788d3e756d34fe3e07915..f3fd0ee9a7f784650805afb8b5831355b018617b 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2016 Oracle.  All Rights Reserved.
  * Author: Darrick J. Wong <darrick.wong@oracle.com>
index a851bf77f17bfa91027be5e0c01740fd21a2e66e..6c22b12176b8b65153c6405c906d1a70876c68b4 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 047f09f0be3c541e9718939a2320b5d2d9069397..a5b998e950fe50f7af27bce8368d39dca1721744 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 0d2d05908537c706bd8e337d0b51ffe80ca190b9..db4717657ca1267c6a11fb6923d78269edbfbe99 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 6dd2d937a42a36ce0ee40af8818fd13c50fac268..5be6be3093023edc73762410ef1c0fde66567a03 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc.
  * Copyright (c) 2013 Red Hat, Inc.
index 6fb4572845ce8ef7482cd9890c2f71e54172929e..e1144f22b00520ab1b0270b9f6ba8e1b12b6a545 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2013 Red Hat, Inc.
  * All Rights Reserved.
index aafa4fe706240e3575448253b6d085be3711c504..bb004fb7944a75b6703bd5a1880f7fc9887044df 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 99017b8df292586d7e6fbe045e1abab2862e93a4..a04f266ae644842a213593b18b985af94b77e92f 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index f3259ad5c22cb9e723c876b40613f7e322a897f0..6028a3c825bac8850f7cd5421eec80a0bd792cc7 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2006 Silicon Graphics, Inc.
  * All Rights Reserved.
index 29b407d053b4e9fd948b92415a9e2c94d8022c83..72bf74c79fb99eacc5d0a9766c6b3ff9965c0743 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002-2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 8626c5a81aaddc9861b63fe9ea3db5c92379e9ee..10e50cbacacf5ddf5af7ceb2ad8429ac5028b8ae 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 53e503b6f186a6c5bc3d1826c253bc219bc573bf..6e25de6621e4fcf776ed0aa34e60dd9510ea6b9e 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc.
  * Copyright (c) 2013 Red Hat, Inc.
index 08c0a4d98b89a0d2bd73363dffcd95d11fb93bff..059ac108b1b394076a6f150632348e72fd464394 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
  * Copyright (c) 2013 Red Hat, Inc.
index 3bf7c2c4d851496640138f91a626e03eac01f6d1..6b2ca580f2b0657e4af9e55a079fabe92a333a29 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2016 Oracle.  All Rights Reserved.
  * Author: Darrick J. Wong <darrick.wong@oracle.com>
index 033777e282f289e529291586172e80183d5ff672..e55378640b056122348c2594ae4039c4a5ddcaca 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 01ee0b9265721d52688ddcfff6a57f53deae400f..44c6a77cba05dc352c5e1c0767862f8ebef4e560 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 2486dab19023d2924717c4c99fa721e364232e5d..53b305dea381563d7291d48bde418e171dc38786 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
  * Copyright (C) 2017 Oracle.
index 592f1c12ad366b2c2293ec1369d315d1949a4032..f2228d9e317a2fa5ca672a02693fb1a51fd0735c 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2000-2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 245188e4f6d3bc217230fbdb9c6569fbf342bc67..84bcffa8775315891385bd984e8b8181d60fd1eb 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-2.1
+/* SPDX-License-Identifier: LGPL-2.1 */
 /*
  * Copyright (c) 1995-2005 Silicon Graphics, Inc.
  * All Rights Reserved.
index 272005ac8c882db9f84f68abb525572d04ef5ddd..99e796256c5d114a3cbe9029e27f18a74dab3920 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2019 Oracle.  All Rights Reserved.
  * Author: Darrick J. Wong <darrick.wong@oracle.com>