Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xfs: Use the correct style for SPDX License Identifier

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>

authored by

Nishad Kamdar and committed by
Darrick J. Wong
508578f2 ee4064e5

+21 -21
+1 -1
fs/xfs/kmem.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_ag_resv.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Copyright (C) 2016 Oracle. All Rights Reserved. 4 4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
+1 -1
fs/xfs/libxfs/xfs_alloc.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_alloc_btree.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_attr.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_attr_leaf.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc. 4 4 * Copyright (c) 2013 Red Hat, Inc.
+1 -1
fs/xfs/libxfs/xfs_attr_remote.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2013 Red Hat, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_attr_sf.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_bit.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_bmap.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_bmap_btree.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_btree.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_da_btree.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000,2002,2005 Silicon Graphics, Inc. 4 4 * Copyright (c) 2013 Red Hat, Inc.
+1 -1
fs/xfs/libxfs/xfs_da_format.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 4 4 * Copyright (c) 2013 Red Hat, Inc.
+1 -1
fs/xfs/libxfs/xfs_defer.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Copyright (C) 2016 Oracle. All Rights Reserved. 4 4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
+1 -1
fs/xfs/libxfs/xfs_dir2.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_dir2_priv.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_errortag.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 4 4 * Copyright (C) 2017 Oracle.
+1 -1
fs/xfs/libxfs/xfs_format.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_fs.h
··· 1 - // SPDX-License-Identifier: LGPL-2.1 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 2 2 /* 3 3 * Copyright (c) 1995-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved.
+1 -1
fs/xfs/libxfs/xfs_health.h
··· 1 - // SPDX-License-Identifier: GPL-2.0+ 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * Copyright (C) 2019 Oracle. All Rights Reserved. 4 4 * Author: Darrick J. Wong <darrick.wong@oracle.com>