xfs: Use the correct style for SPDX License Identifier
Subsystems (2)
PATCH 1/1 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.
--- fs/xfs/kmem.h | 2 +- fs/xfs/libxfs/xfs_ag_resv.h | 2 +- fs/xfs/libxfs/xfs_alloc.h | 2 +- fs/xfs/libxfs/xfs_alloc_btree.h | 2 +- fs/xfs/libxfs/xfs_attr.h | 2 +- fs/xfs/libxfs/xfs_attr_leaf.h | 2 +- fs/xfs/libxfs/xfs_attr_remote.h | 2 +- fs/xfs/libxfs/xfs_attr_sf.h | 2 +- fs/xfs/libxfs/xfs_bit.h | 2 +- fs/xfs/libxfs/xfs_bmap.h | 2 +- fs/xfs/libxfs/xfs_bmap_btree.h | 2 +- fs/xfs/libxfs/xfs_btree.h | 2 +- fs/xfs/libxfs/xfs_da_btree.h | 2 +- fs/xfs/libxfs/xfs_da_format.h | 2 +- fs/xfs/libxfs/xfs_defer.h | 2 +- fs/xfs/libxfs/xfs_dir2.h | 2 +- fs/xfs/libxfs/xfs_dir2_priv.h | 2 +- fs/xfs/libxfs/xfs_errortag.h | 2 +- fs/xfs/libxfs/xfs_format.h | 2 +- fs/xfs/libxfs/xfs_fs.h | 2 +- fs/xfs/libxfs/xfs_health.h | 2 +- fs/xfs/libxfs/xfs_ialloc.h | 2 +- fs/xfs/libxfs/xfs_ialloc_btree.h | 2 +- fs/xfs/libxfs/xfs_inode_buf.h | 2 +- fs/xfs/libxfs/xfs_inode_fork.h | 2 +- fs/xfs/libxfs/xfs_log_format.h | 2 +- fs/xfs/libxfs/xfs_log_recover.h | 2 +- fs/xfs/libxfs/xfs_quota_defs.h | 2 +- fs/xfs/libxfs/xfs_refcount.h | 2 +- fs/xfs/libxfs/xfs_refcount_btree.h | 2 +- fs/xfs/libxfs/xfs_rmap.h | 2 +- fs/xfs/libxfs/xfs_rmap_btree.h | 2 +- fs/xfs/libxfs/xfs_sb.h | 2 +- fs/xfs/libxfs/xfs_shared.h | 2 +- fs/xfs/libxfs/xfs_trans_resv.h | 2 +- fs/xfs/libxfs/xfs_trans_space.h | 2 +- fs/xfs/libxfs/xfs_types.h | 2 +- fs/xfs/mrlock.h | 2 +- fs/xfs/scrub/bitmap.h | 2 +- fs/xfs/scrub/btree.h | 2 +- fs/xfs/scrub/common.h | 2 +- fs/xfs/scrub/dabtree.h | 2 +- fs/xfs/scrub/health.h | 2 +- fs/xfs/scrub/repair.h | 2 +- fs/xfs/scrub/scrub.h | 2 +- fs/xfs/scrub/trace.h | 2 +- fs/xfs/scrub/xfs_scrub.h | 2 +- fs/xfs/xfs.h | 2 +- fs/xfs/xfs_acl.h | 2 +- fs/xfs/xfs_aops.h | 2 +- fs/xfs/xfs_bmap_item.h | 2 +- fs/xfs/xfs_bmap_util.h | 2 +- fs/xfs/xfs_buf.h | 2 +- fs/xfs/xfs_buf_item.h | 2 +- fs/xfs/xfs_dquot.h | 2 +- fs/xfs/xfs_dquot_item.h | 2 +- fs/xfs/xfs_error.h | 2 +- fs/xfs/xfs_export.h | 2 +- fs/xfs/xfs_extent_busy.h | 2 +- fs/xfs/xfs_extfree_item.h | 2 +- fs/xfs/xfs_filestream.h | 2 +- fs/xfs/xfs_fsmap.h | 2 +- fs/xfs/xfs_fsops.h | 2 +- fs/xfs/xfs_icache.h | 2 +- fs/xfs/xfs_icreate_item.h | 2 +- fs/xfs/xfs_inode.h | 2 +- fs/xfs/xfs_inode_item.h | 2 +- fs/xfs/xfs_ioctl.h | 2 +- fs/xfs/xfs_ioctl32.h | 2 +- fs/xfs/xfs_iomap.h | 2 +- fs/xfs/xfs_iops.h | 2 +- fs/xfs/xfs_itable.h | 2 +- fs/xfs/xfs_linux.h | 2 +- fs/xfs/xfs_log.h | 2 +- fs/xfs/xfs_log_priv.h | 2 +- fs/xfs/xfs_mount.h | 2 +- fs/xfs/xfs_mru_cache.h | 2 +- fs/xfs/xfs_ondisk.h | 2 +- fs/xfs/xfs_qm.h | 2 +- fs/xfs/xfs_quota.h | 2 +- fs/xfs/xfs_refcount_item.h | 2 +- fs/xfs/xfs_reflink.h | 2 +- fs/xfs/xfs_rmap_item.h | 2 +- fs/xfs/xfs_rtalloc.h | 2 +- fs/xfs/xfs_stats.h | 2 +- fs/xfs/xfs_super.h | 2 +- fs/xfs/xfs_symlink.h | 2 +- fs/xfs/xfs_sysctl.h | 2 +- fs/xfs/xfs_sysfs.h | 2 +- fs/xfs/xfs_trace.h | 2 +- fs/xfs/xfs_trans.h | 2 +- fs/xfs/xfs_trans_priv.h | 2 +- 92 files changed, 92 insertions(+), 92 deletions(-)
fs/xfs/kmem.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_ag_resv.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_alloc.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_alloc_btree.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_attr.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_attr_leaf.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_attr_remote.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_attr_sf.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_bit.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_bmap.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_bmap_btree.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_btree.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_da_btree.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_da_format.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_defer.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_dir2.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_dir2_priv.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_errortag.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_format.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_fs.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_health.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_ialloc.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_ialloc_btree.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_inode_buf.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/libxfs/xfs_inode_fork.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/libxfs/xfs_log_format.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/libxfs/xfs_log_recover.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_quota_defs.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_refcount.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_refcount_btree.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_rmap.h +1 -1
@@ -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 <[email protected]>
fs/xfs/libxfs/xfs_rmap_btree.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Red Hat, Inc. * All Rights Reserved.
fs/xfs/libxfs/xfs_sb.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_shared.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc.
fs/xfs/libxfs/xfs_trans_resv.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_trans_space.h +1 -1
@@ -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.
fs/xfs/libxfs/xfs_types.h +1 -1
@@ -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.
fs/xfs/mrlock.h +1 -1
@@ -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.
fs/xfs/scrub/bitmap.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/btree.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/common.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/dabtree.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/health.h +1 -1
@@ -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 <[email protected]>
fs/xfs/scrub/repair.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/scrub.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/trace.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/scrub/xfs_scrub.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/xfs.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_acl.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2001-2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_aops.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2005-2006 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_bmap_item.h +1 -1
@@ -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 <[email protected]>
fs/xfs/xfs_bmap_util.h +1 -1
@@ -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.
fs/xfs/xfs_buf.h +1 -1
@@ -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.
fs/xfs/xfs_buf_item.h +1 -1
@@ -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.
fs/xfs/xfs_dquot.h +1 -1
@@ -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.
fs/xfs/xfs_dquot_item.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_error.h +1 -1
@@ -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.
fs/xfs/xfs_export.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_extent_busy.h +1 -1
@@ -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) 2010 David Chinner.
fs/xfs/xfs_extfree_item.h +1 -1
@@ -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.
fs/xfs/xfs_filestream.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2006-2007 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_fsmap.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]>
fs/xfs/xfs_fsops.h +1 -1
@@ -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.
fs/xfs/xfs_icache.h +1 -1
@@ -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.
fs/xfs/xfs_icreate_item.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008-2010, Dave Chinner * All Rights Reserved.
fs/xfs/xfs_inode.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_inode_item.h +1 -1
@@ -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.
fs/xfs/xfs_ioctl.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_ioctl32.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2004-2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_iomap.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2003-2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_iops.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_itable.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. */
fs/xfs/xfs_linux.h +1 -1
@@ -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.
fs/xfs/xfs_log.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_log_priv.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_mount.h +1 -1
@@ -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.
fs/xfs/xfs_mru_cache.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2006-2007 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_ondisk.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016 Oracle. * All Rights Reserved.
fs/xfs/xfs_qm.h +1 -1
@@ -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.
fs/xfs/xfs_quota.h +1 -1
@@ -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.
fs/xfs/xfs_refcount_item.h +1 -1
@@ -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 <[email protected]>
fs/xfs/xfs_reflink.h +1 -1
@@ -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 <[email protected]>
fs/xfs/xfs_rmap_item.h +1 -1
@@ -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 <[email protected]>
fs/xfs/xfs_rtalloc.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_stats.h +1 -1
@@ -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.
fs/xfs/xfs_super.h +1 -1
@@ -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.
fs/xfs/xfs_symlink.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2012 Red Hat, Inc. All rights reserved. */
fs/xfs/xfs_sysctl.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2001-2005 Silicon Graphics, Inc. * All Rights Reserved.
fs/xfs/xfs_sysfs.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Red Hat, Inc. * All Rights Reserved.
fs/xfs/xfs_trace.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2009, Christoph Hellwig * All Rights Reserved.
fs/xfs/xfs_trans.h +1 -1
@@ -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.
fs/xfs/xfs_trans_priv.h +1 -1
@@ -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.
Signature · 1 line
2.17.1
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.
Please use up all 73 chars in your commit logs.
Quoted 11 lines · Christoph Hellwig
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.Please use up all 73 chars in your commit logs.
Ok, I'll do that.
Thanks for the review.
Regards,
Nishad
Quoted 121 lines · Nishad Kamdar
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.rstmandates 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 <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>--- fs/xfs/kmem.h | 2 +- fs/xfs/libxfs/xfs_ag_resv.h | 2 +- fs/xfs/libxfs/xfs_alloc.h | 2 +- fs/xfs/libxfs/xfs_alloc_btree.h | 2 +- fs/xfs/libxfs/xfs_attr.h | 2 +- fs/xfs/libxfs/xfs_attr_leaf.h | 2 +- fs/xfs/libxfs/xfs_attr_remote.h | 2 +- fs/xfs/libxfs/xfs_attr_sf.h | 2 +- fs/xfs/libxfs/xfs_bit.h | 2 +- fs/xfs/libxfs/xfs_bmap.h | 2 +- fs/xfs/libxfs/xfs_bmap_btree.h | 2 +- fs/xfs/libxfs/xfs_btree.h | 2 +- fs/xfs/libxfs/xfs_da_btree.h | 2 +- fs/xfs/libxfs/xfs_da_format.h | 2 +- fs/xfs/libxfs/xfs_defer.h | 2 +- fs/xfs/libxfs/xfs_dir2.h | 2 +- fs/xfs/libxfs/xfs_dir2_priv.h | 2 +- fs/xfs/libxfs/xfs_errortag.h | 2 +- fs/xfs/libxfs/xfs_format.h | 2 +- fs/xfs/libxfs/xfs_fs.h | 2 +- fs/xfs/libxfs/xfs_health.h | 2 +- fs/xfs/libxfs/xfs_ialloc.h | 2 +- fs/xfs/libxfs/xfs_ialloc_btree.h | 2 +- fs/xfs/libxfs/xfs_inode_buf.h | 2 +- fs/xfs/libxfs/xfs_inode_fork.h | 2 +- fs/xfs/libxfs/xfs_log_format.h | 2 +- fs/xfs/libxfs/xfs_log_recover.h | 2 +- fs/xfs/libxfs/xfs_quota_defs.h | 2 +- fs/xfs/libxfs/xfs_refcount.h | 2 +- fs/xfs/libxfs/xfs_refcount_btree.h | 2 +- fs/xfs/libxfs/xfs_rmap.h | 2 +- fs/xfs/libxfs/xfs_rmap_btree.h | 2 +- fs/xfs/libxfs/xfs_sb.h | 2 +- fs/xfs/libxfs/xfs_shared.h | 2 +- fs/xfs/libxfs/xfs_trans_resv.h | 2 +- fs/xfs/libxfs/xfs_trans_space.h | 2 +- fs/xfs/libxfs/xfs_types.h | 2 +- fs/xfs/mrlock.h | 2 +- fs/xfs/scrub/bitmap.h | 2 +- fs/xfs/scrub/btree.h | 2 +- fs/xfs/scrub/common.h | 2 +- fs/xfs/scrub/dabtree.h | 2 +- fs/xfs/scrub/health.h | 2 +- fs/xfs/scrub/repair.h | 2 +- fs/xfs/scrub/scrub.h | 2 +- fs/xfs/scrub/trace.h | 2 +- fs/xfs/scrub/xfs_scrub.h | 2 +- fs/xfs/xfs.h | 2 +- fs/xfs/xfs_acl.h | 2 +- fs/xfs/xfs_aops.h | 2 +- fs/xfs/xfs_bmap_item.h | 2 +- fs/xfs/xfs_bmap_util.h | 2 +- fs/xfs/xfs_buf.h | 2 +- fs/xfs/xfs_buf_item.h | 2 +- fs/xfs/xfs_dquot.h | 2 +- fs/xfs/xfs_dquot_item.h | 2 +- fs/xfs/xfs_error.h | 2 +- fs/xfs/xfs_export.h | 2 +- fs/xfs/xfs_extent_busy.h | 2 +- fs/xfs/xfs_extfree_item.h | 2 +- fs/xfs/xfs_filestream.h | 2 +- fs/xfs/xfs_fsmap.h | 2 +- fs/xfs/xfs_fsops.h | 2 +- fs/xfs/xfs_icache.h | 2 +- fs/xfs/xfs_icreate_item.h | 2 +- fs/xfs/xfs_inode.h | 2 +- fs/xfs/xfs_inode_item.h | 2 +- fs/xfs/xfs_ioctl.h | 2 +- fs/xfs/xfs_ioctl32.h | 2 +- fs/xfs/xfs_iomap.h | 2 +- fs/xfs/xfs_iops.h | 2 +- fs/xfs/xfs_itable.h | 2 +- fs/xfs/xfs_linux.h | 2 +- fs/xfs/xfs_log.h | 2 +- fs/xfs/xfs_log_priv.h | 2 +- fs/xfs/xfs_mount.h | 2 +- fs/xfs/xfs_mru_cache.h | 2 +- fs/xfs/xfs_ondisk.h | 2 +- fs/xfs/xfs_qm.h | 2 +- fs/xfs/xfs_quota.h | 2 +- fs/xfs/xfs_refcount_item.h | 2 +- fs/xfs/xfs_reflink.h | 2 +- fs/xfs/xfs_rmap_item.h | 2 +- fs/xfs/xfs_rtalloc.h | 2 +- fs/xfs/xfs_stats.h | 2 +- fs/xfs/xfs_super.h | 2 +- fs/xfs/xfs_symlink.h | 2 +- fs/xfs/xfs_sysctl.h | 2 +- fs/xfs/xfs_sysfs.h | 2 +- fs/xfs/xfs_trace.h | 2 +- fs/xfs/xfs_trans.h | 2 +- fs/xfs/xfs_trans_priv.h | 2 +- 92 files changed, 92 insertions(+), 92 deletions(-)fs/xfs/kmem.h +1
-1@@ -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. fs/xfs/libxfs/xfs_ag_resv.h +0
-0
fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 2 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */
I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
<shrug>
--D
Quoted 906 lines
fs/xfs/libxfs/xfs_ag_resv.h +0
-0/* * Copyright (C) 2016 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/libxfs/xfs_alloc.h +1
-1@@ -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. fs/xfs/libxfs/xfs_alloc_btree.h +1
-1@@ -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. fs/xfs/libxfs/xfs_attr.h +1
-1@@ -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. fs/xfs/libxfs/xfs_attr_leaf.h +1
-1@@ -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. fs/xfs/libxfs/xfs_attr_remote.h +1
-1@@ -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. fs/xfs/libxfs/xfs_attr_sf.h +1
-1@@ -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. fs/xfs/libxfs/xfs_bit.h +1
-1@@ -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. fs/xfs/libxfs/xfs_bmap.h +1
-1@@ -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. fs/xfs/libxfs/xfs_bmap_btree.h +1
-1@@ -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. fs/xfs/libxfs/xfs_btree.h +1
-1@@ -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. fs/xfs/libxfs/xfs_da_btree.h +1
-1@@ -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. fs/xfs/libxfs/xfs_da_format.h +1
-1@@ -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. fs/xfs/libxfs/xfs_defer.h +1
-1@@ -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 <[email protected]> fs/xfs/libxfs/xfs_dir2.h +1
-1@@ -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. fs/xfs/libxfs/xfs_dir2_priv.h +1
-1@@ -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. fs/xfs/libxfs/xfs_errortag.h +1
-1@@ -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. fs/xfs/libxfs/xfs_format.h +1
-1@@ -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. fs/xfs/libxfs/xfs_fs.h +1
-1@@ -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. fs/xfs/libxfs/xfs_health.h +1
-1@@ -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 <[email protected]> fs/xfs/libxfs/xfs_ialloc.h +1
-1@@ -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. fs/xfs/libxfs/xfs_ialloc_btree.h +1
-1@@ -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. fs/xfs/libxfs/xfs_inode_buf.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/libxfs/xfs_inode_fork.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/libxfs/xfs_log_format.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/libxfs/xfs_log_recover.h +1
-1@@ -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. fs/xfs/libxfs/xfs_quota_defs.h +1
-1@@ -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. fs/xfs/libxfs/xfs_refcount.h +1
-1@@ -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 <[email protected]> fs/xfs/libxfs/xfs_refcount_btree.h +1
-1@@ -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 <[email protected]> fs/xfs/libxfs/xfs_rmap.h +1
-1@@ -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 <[email protected]> fs/xfs/libxfs/xfs_rmap_btree.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Red Hat, Inc. * All Rights Reserved. fs/xfs/libxfs/xfs_sb.h +1
-1@@ -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. fs/xfs/libxfs/xfs_shared.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * Copyright (c) 2013 Red Hat, Inc. fs/xfs/libxfs/xfs_trans_resv.h +1
-1@@ -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. fs/xfs/libxfs/xfs_trans_space.h +1
-1@@ -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. fs/xfs/libxfs/xfs_types.h +1
-1@@ -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. fs/xfs/mrlock.h +1
-1@@ -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. fs/xfs/scrub/bitmap.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/btree.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/common.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/dabtree.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/health.h +1
-1@@ -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 <[email protected]> fs/xfs/scrub/repair.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/scrub.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/trace.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/scrub/xfs_scrub.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/xfs.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_acl.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2001-2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_aops.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2005-2006 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_bmap_item.h +1
-1@@ -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 <[email protected]> fs/xfs/xfs_bmap_util.h +1
-1@@ -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. fs/xfs/xfs_buf.h +1
-1@@ -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. fs/xfs/xfs_buf_item.h +1
-1@@ -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. fs/xfs/xfs_dquot.h +1
-1@@ -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. fs/xfs/xfs_dquot_item.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_error.h +1
-1@@ -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. fs/xfs/xfs_export.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_extent_busy.h +1
-1@@ -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) 2010 David Chinner. fs/xfs/xfs_extfree_item.h +1
-1@@ -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. fs/xfs/xfs_filestream.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2006-2007 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_fsmap.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2017 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> fs/xfs/xfs_fsops.h +1
-1@@ -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. fs/xfs/xfs_icache.h +1
-1@@ -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. fs/xfs/xfs_icreate_item.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008-2010, Dave Chinner * All Rights Reserved. fs/xfs/xfs_inode.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_inode_item.h +1
-1@@ -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. fs/xfs/xfs_ioctl.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2008 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_ioctl32.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2004-2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_iomap.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2003-2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_iops.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_itable.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. */ fs/xfs/xfs_linux.h +1
-1@@ -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. fs/xfs/xfs_log.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_log_priv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_mount.h +1
-1@@ -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. fs/xfs/xfs_mru_cache.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2006-2007 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_ondisk.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016 Oracle. * All Rights Reserved. fs/xfs/xfs_qm.h +1
-1@@ -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. fs/xfs/xfs_quota.h +1
-1@@ -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. fs/xfs/xfs_refcount_item.h +1
-1@@ -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 <[email protected]> fs/xfs/xfs_reflink.h +1
-1@@ -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 <[email protected]> fs/xfs/xfs_rmap_item.h +1
-1@@ -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 <[email protected]> fs/xfs/xfs_rtalloc.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_stats.h +1
-1@@ -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. fs/xfs/xfs_super.h +1
-1@@ -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. fs/xfs/xfs_symlink.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2012 Red Hat, Inc. All rights reserved. */ fs/xfs/xfs_sysctl.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2001-2005 Silicon Graphics, Inc. * All Rights Reserved. fs/xfs/xfs_sysfs.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Red Hat, Inc. * All Rights Reserved. fs/xfs/xfs_trace.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2009, Christoph Hellwig * All Rights Reserved. fs/xfs/xfs_trans.h +1
-1@@ -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. fs/xfs/xfs_trans_priv.h +1
-1@@ -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. Signature · 1 line
2.17.1
Greg Kroah-Hartman
maintainerQuoted 128 lines · Darrick J. Wong
Quoted 121 lines · Nishad Kamdar
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.rstmandates 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 <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>--- fs/xfs/kmem.h | 2 +- fs/xfs/libxfs/xfs_ag_resv.h | 2 +- fs/xfs/libxfs/xfs_alloc.h | 2 +- fs/xfs/libxfs/xfs_alloc_btree.h | 2 +- fs/xfs/libxfs/xfs_attr.h | 2 +- fs/xfs/libxfs/xfs_attr_leaf.h | 2 +- fs/xfs/libxfs/xfs_attr_remote.h | 2 +- fs/xfs/libxfs/xfs_attr_sf.h | 2 +- fs/xfs/libxfs/xfs_bit.h | 2 +- fs/xfs/libxfs/xfs_bmap.h | 2 +- fs/xfs/libxfs/xfs_bmap_btree.h | 2 +- fs/xfs/libxfs/xfs_btree.h | 2 +- fs/xfs/libxfs/xfs_da_btree.h | 2 +- fs/xfs/libxfs/xfs_da_format.h | 2 +- fs/xfs/libxfs/xfs_defer.h | 2 +- fs/xfs/libxfs/xfs_dir2.h | 2 +- fs/xfs/libxfs/xfs_dir2_priv.h | 2 +- fs/xfs/libxfs/xfs_errortag.h | 2 +- fs/xfs/libxfs/xfs_format.h | 2 +- fs/xfs/libxfs/xfs_fs.h | 2 +- fs/xfs/libxfs/xfs_health.h | 2 +- fs/xfs/libxfs/xfs_ialloc.h | 2 +- fs/xfs/libxfs/xfs_ialloc_btree.h | 2 +- fs/xfs/libxfs/xfs_inode_buf.h | 2 +- fs/xfs/libxfs/xfs_inode_fork.h | 2 +- fs/xfs/libxfs/xfs_log_format.h | 2 +- fs/xfs/libxfs/xfs_log_recover.h | 2 +- fs/xfs/libxfs/xfs_quota_defs.h | 2 +- fs/xfs/libxfs/xfs_refcount.h | 2 +- fs/xfs/libxfs/xfs_refcount_btree.h | 2 +- fs/xfs/libxfs/xfs_rmap.h | 2 +- fs/xfs/libxfs/xfs_rmap_btree.h | 2 +- fs/xfs/libxfs/xfs_sb.h | 2 +- fs/xfs/libxfs/xfs_shared.h | 2 +- fs/xfs/libxfs/xfs_trans_resv.h | 2 +- fs/xfs/libxfs/xfs_trans_space.h | 2 +- fs/xfs/libxfs/xfs_types.h | 2 +- fs/xfs/mrlock.h | 2 +- fs/xfs/scrub/bitmap.h | 2 +- fs/xfs/scrub/btree.h | 2 +- fs/xfs/scrub/common.h | 2 +- fs/xfs/scrub/dabtree.h | 2 +- fs/xfs/scrub/health.h | 2 +- fs/xfs/scrub/repair.h | 2 +- fs/xfs/scrub/scrub.h | 2 +- fs/xfs/scrub/trace.h | 2 +- fs/xfs/scrub/xfs_scrub.h | 2 +- fs/xfs/xfs.h | 2 +- fs/xfs/xfs_acl.h | 2 +- fs/xfs/xfs_aops.h | 2 +- fs/xfs/xfs_bmap_item.h | 2 +- fs/xfs/xfs_bmap_util.h | 2 +- fs/xfs/xfs_buf.h | 2 +- fs/xfs/xfs_buf_item.h | 2 +- fs/xfs/xfs_dquot.h | 2 +- fs/xfs/xfs_dquot_item.h | 2 +- fs/xfs/xfs_error.h | 2 +- fs/xfs/xfs_export.h | 2 +- fs/xfs/xfs_extent_busy.h | 2 +- fs/xfs/xfs_extfree_item.h | 2 +- fs/xfs/xfs_filestream.h | 2 +- fs/xfs/xfs_fsmap.h | 2 +- fs/xfs/xfs_fsops.h | 2 +- fs/xfs/xfs_icache.h | 2 +- fs/xfs/xfs_icreate_item.h | 2 +- fs/xfs/xfs_inode.h | 2 +- fs/xfs/xfs_inode_item.h | 2 +- fs/xfs/xfs_ioctl.h | 2 +- fs/xfs/xfs_ioctl32.h | 2 +- fs/xfs/xfs_iomap.h | 2 +- fs/xfs/xfs_iops.h | 2 +- fs/xfs/xfs_itable.h | 2 +- fs/xfs/xfs_linux.h | 2 +- fs/xfs/xfs_log.h | 2 +- fs/xfs/xfs_log_priv.h | 2 +- fs/xfs/xfs_mount.h | 2 +- fs/xfs/xfs_mru_cache.h | 2 +- fs/xfs/xfs_ondisk.h | 2 +- fs/xfs/xfs_qm.h | 2 +- fs/xfs/xfs_quota.h | 2 +- fs/xfs/xfs_refcount_item.h | 2 +- fs/xfs/xfs_reflink.h | 2 +- fs/xfs/xfs_rmap_item.h | 2 +- fs/xfs/xfs_rtalloc.h | 2 +- fs/xfs/xfs_stats.h | 2 +- fs/xfs/xfs_super.h | 2 +- fs/xfs/xfs_symlink.h | 2 +- fs/xfs/xfs_sysctl.h | 2 +- fs/xfs/xfs_sysfs.h | 2 +- fs/xfs/xfs_trace.h | 2 +- fs/xfs/xfs_trans.h | 2 +- fs/xfs/xfs_trans_priv.h | 2 +- 92 files changed, 92 insertions(+), 92 deletions(-)fs/xfs/kmem.h +1
-1@@ -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. fs/xfs/libxfs/xfs_ag_resv.h +0
-0fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 2 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
Quoted 1 line
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in LICENSES/ if people really want to make sure.
thanks,
greg k-h
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.
[]
Quoted 1 line
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h +0
-0
[]
Quoted 7 lines
Quoted 7 lines
fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 3 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
Quoted 5 lines
Quoted 1 line
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in
LICENSES/if people really want to make sure.
I think the kernel should prefer the "newer" SPDX standard for any/all changes to these lines.
--- LICENSES/preferred/GPL-2.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
LICENSES/preferred/GPL-2.0 +4 -4
@@ -8,13 +8,13 @@ Usage-Guide: tag/value pairs into a comment according to the placement guidelines in the licensing rules documentation. For 'GNU General Public License (GPL) version 2 only' use: - SPDX-License-Identifier: GPL-2.0 - or SPDX-License-Identifier: GPL-2.0-only + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0 For 'GNU General Public License (GPL) version 2 or any later version' use: - SPDX-License-Identifier: GPL-2.0+ - or SPDX-License-Identifier: GPL-2.0-or-later + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0+ License-Text: GNU GENERAL PUBLIC LICENSE
Greg Kroah-Hartman
maintainerQuoted 43 lines · Joe Perches
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.[]
Quoted 1 line
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h +0
-0[]
Quoted 7 lines
Quoted 7 lines
fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 3 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
Quoted 5 lines
Quoted 1 line
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in
LICENSES/if people really want to make sure.I think the kernel should prefer the "newer" SPDX standard for any/all changes to these lines.
--- LICENSES/preferred/GPL-2.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)LICENSES/preferred/GPL-2.0 +0
-2@@ -8,13 +8,13 @@ Usage-Guide: tag/value pairs into a comment according to the placement guidelines in the licensing rules documentation. For 'GNU General Public License (GPL) version 2 only' use: - SPDX-License-Identifier: GPL-2.0 - or
LICENSES/preferred/GPL-2.0 Usage-Guide: · line 18
Quoted 10 lines
LICENSES/preferred/GPL-2.0 +4
-2SPDX-License-Identifier: GPL-2.0-only + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0 For 'GNU General Public License (GPL) version 2 or any later version' use: - SPDX-License-Identifier: GPL-2.0+ - or SPDX-License-Identifier: GPL-2.0-or-later + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0+ License-Text:
At the moment, I do not, as the current ones are not "depreciated" at all.
thanks,
greg k-h
Quoted 49 lines · Greg Kroah-Hartman
Quoted 48 lines · Joe Perches
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.[]
Quoted 1 line
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h +0
-0[]
Quoted 7 lines
Quoted 7 lines
fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 3 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
Quoted 5 lines
Quoted 1 line
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in
LICENSES/if people really want to make sure.I think the kernel should prefer the "newer" SPDX standard for any/all changes to these lines.
--- LICENSES/preferred/GPL-2.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)LICENSES/preferred/GPL-2.0 +2
-3@@ -8,13 +8,13 @@ Usage-Guide: tag/value pairs into a comment according to the placement guidelines in the licensing rules documentation. For 'GNU General Public License (GPL) version 2 only' use: - SPDX-License-Identifier: GPL-2.0 - or SPDX-License-Identifier: GPL-2.0-only + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0 For 'GNU General Public License (GPL) version 2 or any later version' use: - SPDX-License-Identifier: GPL-2.0+
Quoted 8 lines
LICENSES/preferred/GPL-2.0 Usage-Guide: · line 18
Quoted 5 lines
LICENSES/preferred/GPL-2.0 +2
-1- or SPDX-License-Identifier: GPL-2.0-or-later + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0+ License-Text:At the moment, I do not, as the current ones are not "depreciated" at all.
shows the GPL-2.0 and GPL-2.0+ as deprecated.
https://spdx.org/licenses/GPL-2.0.html
https://spdx.org/licenses/GPL-2.0+.html
Greg Kroah-Hartman
maintainerQuoted 59 lines · Joe Perches
Quoted 49 lines · Greg Kroah-Hartman
Quoted 48 lines · Joe Perches
Quoted 10 lines · Greg Kroah-Hartman
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines · Nishad Kamdar
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.rstmandates 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.[]
Quoted 1 line
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h
Quoted 1 line
fs/xfs/libxfs/xfs_ag_resv.h +0
-0[]
Quoted 7 lines
Quoted 7 lines
fs/xfs/libxfs/xfs_ag_resv.h line 1
Quoted 3 lines
fs/xfs/libxfs/xfs_ag_resv.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+' is deprecated in some newer version of the SPDX standard?
Quoted 5 lines
Quoted 1 line
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in
LICENSES/if people really want to make sure.I think the kernel should prefer the "newer" SPDX standard for any/all changes to these lines.
--- LICENSES/preferred/GPL-2.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)LICENSES/preferred/GPL-2.0 +2
-3@@ -8,13 +8,13 @@ Usage-Guide: tag/value pairs into a comment according to the placement guidelines in the licensing rules documentation. For 'GNU General Public License (GPL) version 2 only' use: - SPDX-License-Identifier: GPL-2.0 - or SPDX-License-Identifier: GPL-2.0-only + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0 For 'GNU General Public License (GPL) version 2 or any later version' use: - SPDX-License-Identifier: GPL-2.0+Quoted 8 lines
LICENSES/preferred/GPL-2.0 Usage-Guide: · line 18
Quoted 5 lines
LICENSES/preferred/GPL-2.0 +2
-1- or SPDX-License-Identifier: GPL-2.0-or-later + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0+ License-Text:At the moment, I do not, as the current ones are not "depreciated" at all.
Quoted 7 lines
shows the GPL-2.0 and GPL-2.0+ as deprecated.
https://spdx.org/licenses/GPL-2.0.html
https://spdx.org/licenses/GPL-2.0+.html
Again, we are not using the "new" version of the SPDX specification just yet. We started out using one specific version, let's get the whole kernel converted first before worrying about trying to keep up with their newer releases please. We still have a ways to go...
thanks,
greg k-h
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines · Joe Perches
Quoted 2 lines · Greg Kroah-Hartman
Quoted 1 line · Joe Perches
On Mon, 2020-04-27 at 19:29 +0200, Greg Kroah-Hartman wrote:
[]
Quoted 43 lines
Quoted 43 lines
Quoted 30 lines
Quoted 30 lines
Quoted 8 lines
I thought we were supposed to use 'GPL-2.0-or-newer' because 'GPL-2.0+'
Quoted 3 lines
is deprecated in some newer version of the SPDX standard?
<shrug>
The kernel follows the "older" SPDX standard, but will accept either, it's up to the author. It is all documented in
LICENSES/if people really want to make sure.I think the kernel should prefer the "newer" SPDX standard for any/all changes to these lines.
--- LICENSES/preferred/GPL-2.0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)LICENSES/preferred/GPL-2.0 +2
-3@@ -8,13 +8,13 @@ Usage-Guide: tag/value pairs into a comment according to the placement guidelines in the licensing rules documentation. For 'GNU General Public License (GPL) version 2 only' use: - SPDX-License-Identifier: GPL-2.0 - or SPDX-License-Identifier: GPL-2.0-only + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0 For 'GNU General Public License (GPL) version 2 or any later version' use: - SPDX-License-Identifier: GPL-2.0+Quoted 8 lines
LICENSES/preferred/GPL-2.0 Usage-Guide: · line 18
Quoted 5 lines
LICENSES/preferred/GPL-2.0 +2
-1- or SPDX-License-Identifier: GPL-2.0-or-later + or the deprecated alternative + SPDX-License-Identifier: GPL-2.0+ License-Text:At the moment, I do not, as the current ones are not "depreciated" at all.
shows the GPL-2.0 and GPL-2.0+ as deprecated.
Quoted 8 lines
Again, we are not using the "new" version of the SPDX specification just yet. We started out using one specific version, let's get the whole kernel converted first before worrying about trying to keep up with their newer releases please. We still have a ways to go...
It seems you refer to yourself using the majestic plural.
There's already ~80% use of SPDX-License-Identifier and the -only versions are already about 25% of the existing uses.
There's no real reason not to prefer the latest versions over the deprecated ones.
Quoted 3 lines · Joe Perches
There's no real reason not to prefer the latest versions over the deprecated ones.
Joe, your pedantic approach is really hard to work with. Please work on it.
The fact is, there *is * a reason to avoid the pedantic "change to new version" - pointless churn.
We have a lot of the original style spdx markers, because those are what we started with. And changing them is pointless.
I know you love your scripts to change things around, but to everybody else it tends to be just extra work and noise.
Linus
Quoted 5 lines · Linus Torvalds
Quoted 2 lines · Joe Perches
There's no real reason not to prefer the latest versions over the deprecated ones.
Joe, your pedantic approach is really hard to work with. Please work on it.
License text especially _should_ be pedantic and precise.
Quoted 2 lines
The fact is, there *is * a reason to avoid the pedantic "change to new version" - pointless churn.
Have you *looked* at this proposed change?
It just changes // SPDX comments to /* */ in .h files.
It's generically useless churn as using the // style in .h files was only for old and now unsupported compiler versions.
Quoted 2 lines
We have a lot of the original style spdx markers, because those are what we started with. And changing them is pointless.
You and I (and apparently the SPDX group too as they deprecated it) disagree a bit here.
Quoted 2 lines
I know you love your scripts to change things around, but to everybody else it tends to be just extra work and noise.
Piecemeal changes aren't great.
Scripted changes can be very useful and I believe they are significantly underutilized in this source tree.
cheers, Joe
Quoted 7 lines · Joe Perches
Quoted 3 lines
The fact is, there *is * a reason to avoid the pedantic "change to new version" - pointless churn.
Have you *looked* at this proposed change?
It just changes // SPDX comments to /* */ in .h files.
That's not what I was reacting to - it was you arguing with Greg about how we use the legacy format.
I really don't care at all about the comment character choices (either), but wanted to point out that as far as the kernel is concerned, the "deprecated" spdx keys simply arent' deprecated, they are just as valid.
Quoted 1 line
Piecemeal changes aren't great.
Piecemeal changes are fine, when the change doesn't have to be done AT ALL.
There is simply no point in EVER changing "GPL-2.0" into "GPL-2.0-only" etc, unless the thing is then touched for some other reason (which it may never be).
Scripted changes are not as useful as you think. They often cause unnecessary noise in other respects.
I'm constantly seeing stupid pointless work due to irrelevant patches that then show up in "get_maintainer" output because they show up as changes to drivbers that nobody cares about.
Or "git blame -C" things that I have to ignore and go past that history because the scripted change showed an (uninteresting) change.
The fact is, pointless churn is BAD. It's a real expense. The whole "get it over with once" argument is simply completely wrong.
There are real advantages to "don't touch stuff that doesn't actively need touching".
Linus
Quoted 3 lines · Linus Torvalds
There is simply no point in EVER changing "GPL-2.0" into "GPL-2.0-only" etc, unless the thing is then touched for some other reason (which it may never be).
Which is _exactly_ what is happening here.
But the reason _not_ to touch it here is there would be a difference between the SPDX license text in the .c and .h files in the directory.