diff options
author | Tom Rini | 2018-05-06 17:58:06 -0400 |
---|---|---|
committer | Tom Rini | 2018-05-07 09:34:12 -0400 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /include/zfs | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/zfs')
-rw-r--r-- | include/zfs/dmu.h | 3 | ||||
-rw-r--r-- | include/zfs/dmu_objset.h | 3 | ||||
-rw-r--r-- | include/zfs/dnode.h | 3 | ||||
-rw-r--r-- | include/zfs/dsl_dataset.h | 3 | ||||
-rw-r--r-- | include/zfs/dsl_dir.h | 3 | ||||
-rw-r--r-- | include/zfs/sa_impl.h | 3 | ||||
-rw-r--r-- | include/zfs/spa.h | 3 | ||||
-rw-r--r-- | include/zfs/uberblock_impl.h | 3 | ||||
-rw-r--r-- | include/zfs/vdev_impl.h | 3 | ||||
-rw-r--r-- | include/zfs/zap_impl.h | 3 | ||||
-rw-r--r-- | include/zfs/zap_leaf.h | 3 | ||||
-rw-r--r-- | include/zfs/zfs.h | 3 | ||||
-rw-r--r-- | include/zfs/zfs_acl.h | 3 | ||||
-rw-r--r-- | include/zfs/zfs_znode.h | 3 | ||||
-rw-r--r-- | include/zfs/zil.h | 3 | ||||
-rw-r--r-- | include/zfs/zio.h | 3 | ||||
-rw-r--r-- | include/zfs/zio_checksum.h | 3 |
17 files changed, 17 insertions, 34 deletions
diff --git a/include/zfs/dmu.h b/include/zfs/dmu.h index f07a1e3a8c5..f16982f8c02 100644 --- a/include/zfs/dmu.h +++ b/include/zfs/dmu.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/dmu_objset.h b/include/zfs/dmu_objset.h index 2f51fc4e765..43aa5824bd4 100644 --- a/include/zfs/dmu_objset.h +++ b/include/zfs/dmu_objset.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/dnode.h b/include/zfs/dnode.h index 182dd9b41d5..f01772c2f95 100644 --- a/include/zfs/dnode.h +++ b/include/zfs/dnode.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/dsl_dataset.h b/include/zfs/dsl_dataset.h index 237c2d7ccc8..b05be71aa2e 100644 --- a/include/zfs/dsl_dataset.h +++ b/include/zfs/dsl_dataset.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/dsl_dir.h b/include/zfs/dsl_dir.h index 7b3ca8af191..7eeb0d8395b 100644 --- a/include/zfs/dsl_dir.h +++ b/include/zfs/dsl_dir.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/sa_impl.h b/include/zfs/sa_impl.h index e729e59ed11..41c77b0973a 100644 --- a/include/zfs/sa_impl.h +++ b/include/zfs/sa_impl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/spa.h b/include/zfs/spa.h index eb54d906b34..cd2ddf58e77 100644 --- a/include/zfs/spa.h +++ b/include/zfs/spa.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. diff --git a/include/zfs/uberblock_impl.h b/include/zfs/uberblock_impl.h index e19eee5985a..8045687ba89 100644 --- a/include/zfs/uberblock_impl.h +++ b/include/zfs/uberblock_impl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/vdev_impl.h b/include/zfs/vdev_impl.h index 9acc2383472..de0e802f466 100644 --- a/include/zfs/vdev_impl.h +++ b/include/zfs/vdev_impl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/zap_impl.h b/include/zfs/zap_impl.h index 431fd2dbf6e..6fe9fb66f23 100644 --- a/include/zfs/zap_impl.h +++ b/include/zfs/zap_impl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. diff --git a/include/zfs/zap_leaf.h b/include/zfs/zap_leaf.h index 5836f2272d5..2a778e2caf0 100644 --- a/include/zfs/zap_leaf.h +++ b/include/zfs/zap_leaf.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/zfs.h b/include/zfs/zfs.h index 8912732abee..17b93c10c81 100644 --- a/include/zfs/zfs.h +++ b/include/zfs/zfs.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. diff --git a/include/zfs/zfs_acl.h b/include/zfs/zfs_acl.h index 265736d599a..d6cc408d7f1 100644 --- a/include/zfs/zfs_acl.h +++ b/include/zfs/zfs_acl.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/zfs_znode.h b/include/zfs/zfs_znode.h index 4a5e0f8d729..ed3cde61650 100644 --- a/include/zfs/zfs_znode.h +++ b/include/zfs/zfs_znode.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/zil.h b/include/zfs/zil.h index 7391c4628d0..b5bd2c8406d 100644 --- a/include/zfs/zil.h +++ b/include/zfs/zil.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. diff --git a/include/zfs/zio.h b/include/zfs/zio.h index 888a4d38242..959e6e936ad 100644 --- a/include/zfs/zio.h +++ b/include/zfs/zio.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. diff --git a/include/zfs/zio_checksum.h b/include/zfs/zio_checksum.h index 0c9b17a975e..2264374e33a 100644 --- a/include/zfs/zio_checksum.h +++ b/include/zfs/zio_checksum.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. |