From 865ca576abe90bda5349aae4cff52df985f1d24c Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sat, 4 Jan 2025 12:14:31 +1100 Subject: [PATCH] SPDX: license tags: BSD-2-Clause Sponsored-by: https://despairlabs.com/sponsor/ Signed-off-by: Rob Norris Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf --- cmd/arc_summary | 1 + etc/init.d/zfs-import.in | 1 + etc/init.d/zfs-load-key.in | 1 + etc/init.d/zfs-mount.in | 1 + etc/init.d/zfs-share.in | 1 + etc/init.d/zfs-zed.in | 1 + etc/zfs/zfs-functions.in | 1 + include/os/freebsd/linux/compiler.h | 1 + include/os/freebsd/linux/types.h | 1 + include/os/freebsd/spl/sys/atomic.h | 1 + include/os/freebsd/spl/sys/condvar.h | 1 + include/os/freebsd/spl/sys/ctype.h | 1 + include/os/freebsd/spl/sys/debug.h | 1 + include/os/freebsd/spl/sys/dirent.h | 1 + include/os/freebsd/spl/sys/disp.h | 1 + include/os/freebsd/spl/sys/fcntl.h | 1 + include/os/freebsd/spl/sys/file.h | 1 + include/os/freebsd/spl/sys/freebsd_rwlock.h | 1 + include/os/freebsd/spl/sys/kmem.h | 1 + include/os/freebsd/spl/sys/kmem_cache.h | 1 + include/os/freebsd/spl/sys/lock.h | 1 + include/os/freebsd/spl/sys/misc.h | 1 + include/os/freebsd/spl/sys/mod_os.h | 1 + include/os/freebsd/spl/sys/mount.h | 1 + include/os/freebsd/spl/sys/mutex.h | 1 + include/os/freebsd/spl/sys/param.h | 1 + include/os/freebsd/spl/sys/policy.h | 1 + include/os/freebsd/spl/sys/proc.h | 1 + include/os/freebsd/spl/sys/random.h | 1 + include/os/freebsd/spl/sys/rwlock.h | 1 + include/os/freebsd/spl/sys/sdt.h | 1 + include/os/freebsd/spl/sys/sid.h | 1 + include/os/freebsd/spl/sys/sig.h | 1 + include/os/freebsd/spl/sys/simd.h | 1 + include/os/freebsd/spl/sys/simd_aarch64.h | 1 + include/os/freebsd/spl/sys/simd_arm.h | 1 + include/os/freebsd/spl/sys/simd_powerpc.h | 1 + include/os/freebsd/spl/sys/simd_x86.h | 1 + include/os/freebsd/spl/sys/string.h | 1 + include/os/freebsd/spl/sys/systeminfo.h | 1 + include/os/freebsd/spl/sys/systm.h | 1 + include/os/freebsd/spl/sys/thread.h | 1 + include/os/freebsd/spl/sys/time.h | 1 + include/os/freebsd/spl/sys/timer.h | 1 + include/os/freebsd/spl/sys/types.h | 1 + include/os/freebsd/spl/sys/types32.h | 1 + include/os/freebsd/spl/sys/uio.h | 1 + include/os/freebsd/spl/sys/vfs.h | 1 + include/os/freebsd/spl/sys/vm.h | 1 + include/os/freebsd/spl/sys/vmsystm.h | 1 + include/os/freebsd/spl/sys/vnode.h | 1 + include/os/freebsd/spl/sys/zone.h | 1 + include/os/freebsd/zfs/sys/freebsd_crypto.h | 1 + include/os/freebsd/zfs/sys/zfs_context_os.h | 1 + include/os/freebsd/zfs/sys/zfs_vnops_os.h | 1 + include/os/linux/spl/sys/debug.h | 1 + lib/libshare/os/freebsd/nfs.c | 1 + lib/libspl/include/os/freebsd/fcntl.h | 1 + lib/libspl/include/os/freebsd/sys/fcntl.h | 1 + lib/libspl/include/os/freebsd/sys/vfs.h | 1 + lib/libspl/include/os/freebsd/sys/zfs_context_os.h | 1 + lib/libspl/os/freebsd/mnttab.c | 1 + lib/libspl/os/freebsd/zone.c | 1 + lib/libzfs/os/freebsd/libzfs_zmount.c | 1 + lib/libzpool/zfs_racct.c | 1 + module/lua/setjmp/setjmp_aarch64.S | 1 + module/lua/setjmp/setjmp_arm.S | 1 + module/lua/setjmp/setjmp_loongarch64.S | 1 + module/lua/setjmp/setjmp_rv64g.S | 1 + module/os/freebsd/spl/spl_acl.c | 1 + module/os/freebsd/spl/spl_atomic.c | 1 + module/os/freebsd/spl/spl_dtrace.c | 1 + module/os/freebsd/spl/spl_kmem.c | 1 + module/os/freebsd/spl/spl_kstat.c | 1 + module/os/freebsd/spl/spl_misc.c | 1 + module/os/freebsd/spl/spl_policy.c | 1 + module/os/freebsd/spl/spl_procfs_list.c | 1 + module/os/freebsd/spl/spl_sunddi.c | 1 + module/os/freebsd/spl/spl_sysevent.c | 1 + module/os/freebsd/spl/spl_taskq.c | 1 + module/os/freebsd/spl/spl_vfs.c | 1 + module/os/freebsd/spl/spl_vm.c | 1 + module/os/freebsd/spl/spl_zlib.c | 1 + module/os/freebsd/spl/spl_zone.c | 1 + module/os/freebsd/zfs/crypto_os.c | 1 + module/os/freebsd/zfs/dmu_os.c | 1 + module/os/freebsd/zfs/kmod_core.c | 1 + module/os/freebsd/zfs/sysctl_os.c | 1 + module/os/freebsd/zfs/zfs_file_os.c | 1 + module/os/freebsd/zfs/zfs_ioctl_compat.c | 1 + module/os/freebsd/zfs/zfs_ioctl_os.c | 1 + module/os/freebsd/zfs/zfs_racct.c | 1 + module/os/linux/spl/spl-zone.c | 1 + module/os/linux/zfs/zfs_racct.c | 1 + module/zfs/lz4.c | 1 + module/zfs/lz4_zfs.c | 1 + 96 files changed, 96 insertions(+) diff --git a/cmd/arc_summary b/cmd/arc_summary index 72381d266..c13195732 100755 --- a/cmd/arc_summary +++ b/cmd/arc_summary @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2008 Ben Rockwood , # Copyright (c) 2010 Martin Matuska , diff --git a/etc/init.d/zfs-import.in b/etc/init.d/zfs-import.in index ff169eb96..3e2f15ce9 100755 --- a/etc/init.d/zfs-import.in +++ b/etc/init.d/zfs-import.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-import This script will import ZFS pools diff --git a/etc/init.d/zfs-load-key.in b/etc/init.d/zfs-load-key.in index 27dfeeb0b..1edff9c6b 100755 --- a/etc/init.d/zfs-load-key.in +++ b/etc/init.d/zfs-load-key.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-load-key This script will load/unload the zfs filesystems keys. diff --git a/etc/init.d/zfs-mount.in b/etc/init.d/zfs-mount.in index 6a3ca5f86..3b5004e0d 100755 --- a/etc/init.d/zfs-mount.in +++ b/etc/init.d/zfs-mount.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-mount This script will mount/umount the zfs filesystems. diff --git a/etc/init.d/zfs-share.in b/etc/init.d/zfs-share.in index 06c59c620..c52b4900e 100755 --- a/etc/init.d/zfs-share.in +++ b/etc/init.d/zfs-share.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-share This script will network share zfs filesystems and volumes. diff --git a/etc/init.d/zfs-zed.in b/etc/init.d/zfs-zed.in index 3d40600ce..0dae98f74 100755 --- a/etc/init.d/zfs-zed.in +++ b/etc/init.d/zfs-zed.in @@ -1,4 +1,5 @@ #!@DEFAULT_INIT_SHELL@ +# SPDX-License-Identifier: BSD-2-Clause # shellcheck disable=SC2154 # # zfs-zed diff --git a/etc/zfs/zfs-functions.in b/etc/zfs/zfs-functions.in index 2ff1a1861..9ae8b40d4 100644 --- a/etc/zfs/zfs-functions.in +++ b/etc/zfs/zfs-functions.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: BSD-2-Clause # This is a script with common functions etc used by zfs-import, zfs-load-key, # zfs-mount, zfs-share and zfs-zed. # diff --git a/include/os/freebsd/linux/compiler.h b/include/os/freebsd/linux/compiler.h index 24f09c722..7af4f7112 100644 --- a/include/os/freebsd/linux/compiler.h +++ b/include/os/freebsd/linux/compiler.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2024 Warner Losh. * diff --git a/include/os/freebsd/linux/types.h b/include/os/freebsd/linux/types.h index d290317cc..0eae1747f 100644 --- a/include/os/freebsd/linux/types.h +++ b/include/os/freebsd/linux/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iXsystems, Inc. diff --git a/include/os/freebsd/spl/sys/atomic.h b/include/os/freebsd/spl/sys/atomic.h index 40a67704f..a5b5c2ed6 100644 --- a/include/os/freebsd/spl/sys/atomic.h +++ b/include/os/freebsd/spl/sys/atomic.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/condvar.h b/include/os/freebsd/spl/sys/condvar.h index 9b1893bcb..f22043e32 100644 --- a/include/os/freebsd/spl/sys/condvar.h +++ b/include/os/freebsd/spl/sys/condvar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * Copyright (c) 2013 iXsystems, Inc. diff --git a/include/os/freebsd/spl/sys/ctype.h b/include/os/freebsd/spl/sys/ctype.h index b9ca0f8ef..f13f69690 100644 --- a/include/os/freebsd/spl/sys/ctype.h +++ b/include/os/freebsd/spl/sys/ctype.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/debug.h b/include/os/freebsd/spl/sys/debug.h index fd22e6b00..c1a7cfdec 100644 --- a/include/os/freebsd/spl/sys/debug.h +++ b/include/os/freebsd/spl/sys/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/dirent.h b/include/os/freebsd/spl/sys/dirent.h index 2403766a4..845683173 100644 --- a/include/os/freebsd/spl/sys/dirent.h +++ b/include/os/freebsd/spl/sys/dirent.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/disp.h b/include/os/freebsd/spl/sys/disp.h index d46a7d2c0..a63541f57 100644 --- a/include/os/freebsd/spl/sys/disp.h +++ b/include/os/freebsd/spl/sys/disp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 Andriy Gapon * All rights reserved. diff --git a/include/os/freebsd/spl/sys/fcntl.h b/include/os/freebsd/spl/sys/fcntl.h index 4301d6e15..8e3d8d870 100644 --- a/include/os/freebsd/spl/sys/fcntl.h +++ b/include/os/freebsd/spl/sys/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/include/os/freebsd/spl/sys/file.h b/include/os/freebsd/spl/sys/file.h index 51e59b113..084261b46 100644 --- a/include/os/freebsd/spl/sys/file.h +++ b/include/os/freebsd/spl/sys/file.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/freebsd_rwlock.h b/include/os/freebsd/spl/sys/freebsd_rwlock.h index b760f8cf2..8458ac905 100644 --- a/include/os/freebsd/spl/sys/freebsd_rwlock.h +++ b/include/os/freebsd/spl/sys/freebsd_rwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/kmem.h b/include/os/freebsd/spl/sys/kmem.h index ae786f0e2..a9619d7d0 100644 --- a/include/os/freebsd/spl/sys/kmem.h +++ b/include/os/freebsd/spl/sys/kmem.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/kmem_cache.h b/include/os/freebsd/spl/sys/kmem_cache.h index 9eec3b458..d55d51619 100644 --- a/include/os/freebsd/spl/sys/kmem_cache.h +++ b/include/os/freebsd/spl/sys/kmem_cache.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/lock.h b/include/os/freebsd/spl/sys/lock.h index 7d5dc26ab..306938c0c 100644 --- a/include/os/freebsd/spl/sys/lock.h +++ b/include/os/freebsd/spl/sys/lock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/misc.h b/include/os/freebsd/spl/sys/misc.h index 894ccd8bf..091ebe772 100644 --- a/include/os/freebsd/spl/sys/misc.h +++ b/include/os/freebsd/spl/sys/misc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mod_os.h b/include/os/freebsd/spl/sys/mod_os.h index 1479242de..4214189c3 100644 --- a/include/os/freebsd/spl/sys/mod_os.h +++ b/include/os/freebsd/spl/sys/mod_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mount.h b/include/os/freebsd/spl/sys/mount.h index 42614e473..55c95c185 100644 --- a/include/os/freebsd/spl/sys/mount.h +++ b/include/os/freebsd/spl/sys/mount.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/mutex.h b/include/os/freebsd/spl/sys/mutex.h index bbff9fe80..546a4681a 100644 --- a/include/os/freebsd/spl/sys/mutex.h +++ b/include/os/freebsd/spl/sys/mutex.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/param.h b/include/os/freebsd/spl/sys/param.h index 96440dce0..a1b5504f7 100644 --- a/include/os/freebsd/spl/sys/param.h +++ b/include/os/freebsd/spl/sys/param.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2007 John Birrell * All rights reserved. diff --git a/include/os/freebsd/spl/sys/policy.h b/include/os/freebsd/spl/sys/policy.h index 32c10bdca..639ade831 100644 --- a/include/os/freebsd/spl/sys/policy.h +++ b/include/os/freebsd/spl/sys/policy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/proc.h b/include/os/freebsd/spl/sys/proc.h index 96ba10e56..a03b815a2 100644 --- a/include/os/freebsd/spl/sys/proc.h +++ b/include/os/freebsd/spl/sys/proc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/random.h b/include/os/freebsd/spl/sys/random.h index 146fa9e5d..4674bde7e 100644 --- a/include/os/freebsd/spl/sys/random.h +++ b/include/os/freebsd/spl/sys/random.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/rwlock.h b/include/os/freebsd/spl/sys/rwlock.h index 514687079..11393dbdc 100644 --- a/include/os/freebsd/spl/sys/rwlock.h +++ b/include/os/freebsd/spl/sys/rwlock.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sdt.h b/include/os/freebsd/spl/sys/sdt.h index aa3688718..ef1dad6c1 100644 --- a/include/os/freebsd/spl/sys/sdt.h +++ b/include/os/freebsd/spl/sys/sdt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sid.h b/include/os/freebsd/spl/sys/sid.h index f249d05d5..12afed312 100644 --- a/include/os/freebsd/spl/sys/sid.h +++ b/include/os/freebsd/spl/sys/sid.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/sig.h b/include/os/freebsd/spl/sys/sig.h index 17fc65cbe..1eb4ffb9e 100644 --- a/include/os/freebsd/spl/sys/sig.h +++ b/include/os/freebsd/spl/sys/sig.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2008 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd.h b/include/os/freebsd/spl/sys/simd.h index d16e1db5e..051fd8a27 100644 --- a/include/os/freebsd/spl/sys/simd.h +++ b/include/os/freebsd/spl/sys/simd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_aarch64.h b/include/os/freebsd/spl/sys/simd_aarch64.h index 234f401db..9df0f6817 100644 --- a/include/os/freebsd/spl/sys/simd_aarch64.h +++ b/include/os/freebsd/spl/sys/simd_aarch64.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_arm.h b/include/os/freebsd/spl/sys/simd_arm.h index 178fbc3b3..19baefd48 100644 --- a/include/os/freebsd/spl/sys/simd_arm.h +++ b/include/os/freebsd/spl/sys/simd_arm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_powerpc.h b/include/os/freebsd/spl/sys/simd_powerpc.h index cf3c712c6..7e7abd992 100644 --- a/include/os/freebsd/spl/sys/simd_powerpc.h +++ b/include/os/freebsd/spl/sys/simd_powerpc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Tino Reichardt * All rights reserved. diff --git a/include/os/freebsd/spl/sys/simd_x86.h b/include/os/freebsd/spl/sys/simd_x86.h index 8e93b558d..c562fb017 100644 --- a/include/os/freebsd/spl/sys/simd_x86.h +++ b/include/os/freebsd/spl/sys/simd_x86.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/string.h b/include/os/freebsd/spl/sys/string.h index 859b40285..836eea191 100644 --- a/include/os/freebsd/spl/sys/string.h +++ b/include/os/freebsd/spl/sys/string.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/systeminfo.h b/include/os/freebsd/spl/sys/systeminfo.h index 4028cd7cc..690461cb2 100644 --- a/include/os/freebsd/spl/sys/systeminfo.h +++ b/include/os/freebsd/spl/sys/systeminfo.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/systm.h b/include/os/freebsd/spl/sys/systm.h index 98ee95575..ec58ee0a9 100644 --- a/include/os/freebsd/spl/sys/systm.h +++ b/include/os/freebsd/spl/sys/systm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/thread.h b/include/os/freebsd/spl/sys/thread.h index 4fb1a542f..4e2dedd8b 100644 --- a/include/os/freebsd/spl/sys/thread.h +++ b/include/os/freebsd/spl/sys/thread.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/time.h b/include/os/freebsd/spl/sys/time.h index 47d64c347..2f5fe4619 100644 --- a/include/os/freebsd/spl/sys/time.h +++ b/include/os/freebsd/spl/sys/time.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/timer.h b/include/os/freebsd/spl/sys/timer.h index 7ff77e9b1..3c5a5ee1b 100644 --- a/include/os/freebsd/spl/sys/timer.h +++ b/include/os/freebsd/spl/sys/timer.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/types.h b/include/os/freebsd/spl/sys/types.h index ebc93f4f4..5d0a48199 100644 --- a/include/os/freebsd/spl/sys/types.h +++ b/include/os/freebsd/spl/sys/types.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/types32.h b/include/os/freebsd/spl/sys/types32.h index 907b667e5..5b7131923 100644 --- a/include/os/freebsd/spl/sys/types32.h +++ b/include/os/freebsd/spl/sys/types32.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/uio.h b/include/os/freebsd/spl/sys/uio.h index 2bd5bdb80..528de6955 100644 --- a/include/os/freebsd/spl/sys/uio.h +++ b/include/os/freebsd/spl/sys/uio.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vfs.h b/include/os/freebsd/spl/sys/vfs.h index f2196da56..ce2617160 100644 --- a/include/os/freebsd/spl/sys/vfs.h +++ b/include/os/freebsd/spl/sys/vfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vm.h b/include/os/freebsd/spl/sys/vm.h index 07ee6bc19..454078f0f 100644 --- a/include/os/freebsd/spl/sys/vm.h +++ b/include/os/freebsd/spl/sys/vm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vmsystm.h b/include/os/freebsd/spl/sys/vmsystm.h index 0db34bbe4..634ee3695 100644 --- a/include/os/freebsd/spl/sys/vmsystm.h +++ b/include/os/freebsd/spl/sys/vmsystm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h index b9d3e81d0..ae9c766e3 100644 --- a/include/os/freebsd/spl/sys/vnode.h +++ b/include/os/freebsd/spl/sys/vnode.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/spl/sys/zone.h b/include/os/freebsd/spl/sys/zone.h index dd088de83..cfe639467 100644 --- a/include/os/freebsd/spl/sys/zone.h +++ b/include/os/freebsd/spl/sys/zone.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/include/os/freebsd/zfs/sys/freebsd_crypto.h b/include/os/freebsd/zfs/sys/freebsd_crypto.h index a61a6cd88..e7bc339eb 100644 --- a/include/os/freebsd/zfs/sys/freebsd_crypto.h +++ b/include/os/freebsd/zfs/sys/freebsd_crypto.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2018 Sean Eric Fagan * Portions Copyright (c) 2005-2011 Pawel Jakub Dawidek diff --git a/include/os/freebsd/zfs/sys/zfs_context_os.h b/include/os/freebsd/zfs/sys/zfs_context_os.h index 457fa3af8..ce7cfd479 100644 --- a/include/os/freebsd/zfs/sys/zfs_context_os.h +++ b/include/os/freebsd/zfs/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/freebsd/zfs/sys/zfs_vnops_os.h b/include/os/freebsd/zfs/sys/zfs_vnops_os.h index eddcab575..e27c6527e 100644 --- a/include/os/freebsd/zfs/sys/zfs_vnops_os.h +++ b/include/os/freebsd/zfs/sys/zfs_vnops_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/include/os/linux/spl/sys/debug.h b/include/os/linux/spl/sys/debug.h index 3459d6979..700cc85b6 100644 --- a/include/os/linux/spl/sys/debug.h +++ b/include/os/linux/spl/sys/debug.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libshare/os/freebsd/nfs.c b/lib/libshare/os/freebsd/nfs.c index 8a7ee6b35..969194f28 100644 --- a/lib/libshare/os/freebsd/nfs.c +++ b/lib/libshare/os/freebsd/nfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libspl/include/os/freebsd/fcntl.h b/lib/libspl/include/os/freebsd/fcntl.h index 26d571ad8..1222b3d7a 100644 --- a/lib/libspl/include/os/freebsd/fcntl.h +++ b/lib/libspl/include/os/freebsd/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/lib/libspl/include/os/freebsd/sys/fcntl.h b/lib/libspl/include/os/freebsd/sys/fcntl.h index c8a37a193..64dd4d7eb 100644 --- a/lib/libspl/include/os/freebsd/sys/fcntl.h +++ b/lib/libspl/include/os/freebsd/sys/fcntl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/lib/libspl/include/os/freebsd/sys/vfs.h b/lib/libspl/include/os/freebsd/sys/vfs.h index 55eb3c23b..228ec5905 100644 --- a/lib/libspl/include/os/freebsd/sys/vfs.h +++ b/lib/libspl/include/os/freebsd/sys/vfs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libspl/include/os/freebsd/sys/zfs_context_os.h b/lib/libspl/include/os/freebsd/sys/zfs_context_os.h index 9b9d69bdd..1dd036d02 100644 --- a/lib/libspl/include/os/freebsd/sys/zfs_context_os.h +++ b/lib/libspl/include/os/freebsd/sys/zfs_context_os.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/lib/libspl/os/freebsd/mnttab.c b/lib/libspl/os/freebsd/mnttab.c index 26a4cd992..5287da132 100644 --- a/lib/libspl/os/freebsd/mnttab.c +++ b/lib/libspl/os/freebsd/mnttab.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libspl/os/freebsd/zone.c b/lib/libspl/os/freebsd/zone.c index c07cb0532..d6f698207 100644 --- a/lib/libspl/os/freebsd/zone.c +++ b/lib/libspl/os/freebsd/zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c index 3c50daf47..bc7d68b17 100644 --- a/lib/libzfs/os/freebsd/libzfs_zmount.c +++ b/lib/libzfs/os/freebsd/libzfs_zmount.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006 Pawel Jakub Dawidek * All rights reserved. diff --git a/lib/libzpool/zfs_racct.c b/lib/libzpool/zfs_racct.c index b1aff465c..0f80907a5 100644 --- a/lib/libzpool/zfs_racct.c +++ b/lib/libzpool/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/lua/setjmp/setjmp_aarch64.S b/module/lua/setjmp/setjmp_aarch64.S index 040ef1821..3da99b520 100644 --- a/module/lua/setjmp/setjmp_aarch64.S +++ b/module/lua/setjmp/setjmp_aarch64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright (c) 2014 Andrew Turner * Copyright (c) 2014-2015 The FreeBSD Foundation diff --git a/module/lua/setjmp/setjmp_arm.S b/module/lua/setjmp/setjmp_arm.S index 0b18a9628..fc3c33e6e 100644 --- a/module/lua/setjmp/setjmp_arm.S +++ b/module/lua/setjmp/setjmp_arm.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright 2004-2014 Olivier Houchard * Copyright 2012-2014 Ian Lepore diff --git a/module/lua/setjmp/setjmp_loongarch64.S b/module/lua/setjmp/setjmp_loongarch64.S index 216b829ff..a8048dfd1 100644 --- a/module/lua/setjmp/setjmp_loongarch64.S +++ b/module/lua/setjmp/setjmp_loongarch64.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright 2022 Han Gao * All rights reserved. diff --git a/module/lua/setjmp/setjmp_rv64g.S b/module/lua/setjmp/setjmp_rv64g.S index 7f6c50d25..afd35f04b 100644 --- a/module/lua/setjmp/setjmp_rv64g.S +++ b/module/lua/setjmp/setjmp_rv64g.S @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /*- * Copyright (c) 2015-2016 Ruslan Bukin * All rights reserved. diff --git a/module/os/freebsd/spl/spl_acl.c b/module/os/freebsd/spl/spl_acl.c index c820d7a6d..68159d626 100644 --- a/module/os/freebsd/spl/spl_acl.c +++ b/module/os/freebsd/spl/spl_acl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2008, 2009 Edward Tomasz NapieraƂa * diff --git a/module/os/freebsd/spl/spl_atomic.c b/module/os/freebsd/spl/spl_atomic.c index cdfd37f3e..00ab6e16b 100644 --- a/module/os/freebsd/spl/spl_atomic.c +++ b/module/os/freebsd/spl/spl_atomic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_dtrace.c b/module/os/freebsd/spl/spl_dtrace.c index 0a2fcf110..b1f68c78b 100644 --- a/module/os/freebsd/spl/spl_dtrace.c +++ b/module/os/freebsd/spl/spl_dtrace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright 2014 The FreeBSD Project. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_kmem.c b/module/os/freebsd/spl/spl_kmem.c index ceaa2b40b..6d198fad5 100644 --- a/module/os/freebsd/spl/spl_kmem.c +++ b/module/os/freebsd/spl/spl_kmem.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006-2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_kstat.c b/module/os/freebsd/spl/spl_kstat.c index f657ef2a3..1fb294b37 100644 --- a/module/os/freebsd/spl/spl_kstat.c +++ b/module/os/freebsd/spl/spl_kstat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_misc.c b/module/os/freebsd/spl/spl_misc.c index 2d0821417..f9125a067 100644 --- a/module/os/freebsd/spl/spl_misc.c +++ b/module/os/freebsd/spl/spl_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_policy.c b/module/os/freebsd/spl/spl_policy.c index 42a693b07..aad3ef2fa 100644 --- a/module/os/freebsd/spl/spl_policy.c +++ b/module/os/freebsd/spl/spl_policy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_procfs_list.c b/module/os/freebsd/spl/spl_procfs_list.c index 77d33ee2e..65ce9af1e 100644 --- a/module/os/freebsd/spl/spl_procfs_list.c +++ b/module/os/freebsd/spl/spl_procfs_list.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_sunddi.c b/module/os/freebsd/spl/spl_sunddi.c index 4c97c9f12..32667772c 100644 --- a/module/os/freebsd/spl/spl_sunddi.c +++ b/module/os/freebsd/spl/spl_sunddi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_sysevent.c b/module/os/freebsd/spl/spl_sysevent.c index dc5ed8105..9da633c2b 100644 --- a/module/os/freebsd/spl/spl_sysevent.c +++ b/module/os/freebsd/spl/spl_sysevent.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2010 Pawel Jakub Dawidek * Copyright (c) 2020 iXsystems, Inc. diff --git a/module/os/freebsd/spl/spl_taskq.c b/module/os/freebsd/spl/spl_taskq.c index af32c0ee2..78d9c8257 100644 --- a/module/os/freebsd/spl/spl_taskq.c +++ b/module/os/freebsd/spl/spl_taskq.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2009 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_vfs.c b/module/os/freebsd/spl/spl_vfs.c index 6af3da138..ef0224a27 100644 --- a/module/os/freebsd/spl/spl_vfs.c +++ b/module/os/freebsd/spl/spl_vfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2006-2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/spl/spl_vm.c b/module/os/freebsd/spl/spl_vm.c index e6f019cb9..733c2bd07 100644 --- a/module/os/freebsd/spl/spl_vm.c +++ b/module/os/freebsd/spl/spl_vm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2013 EMC Corp. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_zlib.c b/module/os/freebsd/spl/spl_zlib.c index 4a2bb3884..89f3e4b5b 100644 --- a/module/os/freebsd/spl/spl_zlib.c +++ b/module/os/freebsd/spl/spl_zlib.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/spl/spl_zone.c b/module/os/freebsd/spl/spl_zone.c index e3896517b..06f588507 100644 --- a/module/os/freebsd/spl/spl_zone.c +++ b/module/os/freebsd/spl/spl_zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2007 Pawel Jakub Dawidek * All rights reserved. diff --git a/module/os/freebsd/zfs/crypto_os.c b/module/os/freebsd/zfs/crypto_os.c index 4d8493743..a4bf3fb64 100644 --- a/module/os/freebsd/zfs/crypto_os.c +++ b/module/os/freebsd/zfs/crypto_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2005-2010 Pawel Jakub Dawidek * Copyright (c) 2018 Sean Eric Fagan diff --git a/module/os/freebsd/zfs/dmu_os.c b/module/os/freebsd/zfs/dmu_os.c index 370ce2d80..d7c9be70a 100644 --- a/module/os/freebsd/zfs/dmu_os.c +++ b/module/os/freebsd/zfs/dmu_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/kmod_core.c b/module/os/freebsd/zfs/kmod_core.c index f883599f2..c114db14a 100644 --- a/module/os/freebsd/zfs/kmod_core.c +++ b/module/os/freebsd/zfs/kmod_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/sysctl_os.c b/module/os/freebsd/zfs/sysctl_os.c index bddb25a07..ace2360c0 100644 --- a/module/os/freebsd/zfs/sysctl_os.c +++ b/module/os/freebsd/zfs/sysctl_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_file_os.c b/module/os/freebsd/zfs/zfs_file_os.c index f6ee391de..21e5f7938 100644 --- a/module/os/freebsd/zfs/zfs_file_os.c +++ b/module/os/freebsd/zfs/zfs_file_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_ioctl_compat.c b/module/os/freebsd/zfs/zfs_ioctl_compat.c index 4a7beb650..72d6e16be 100644 --- a/module/os/freebsd/zfs/zfs_ioctl_compat.c +++ b/module/os/freebsd/zfs/zfs_ioctl_compat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_ioctl_os.c b/module/os/freebsd/zfs/zfs_ioctl_os.c index 928cf25e9..dcdefae56 100644 --- a/module/os/freebsd/zfs/zfs_ioctl_os.c +++ b/module/os/freebsd/zfs/zfs_ioctl_os.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2020 iXsystems, Inc. * All rights reserved. diff --git a/module/os/freebsd/zfs/zfs_racct.c b/module/os/freebsd/zfs/zfs_racct.c index 2989a9af9..bdbbdacd9 100644 --- a/module/os/freebsd/zfs/zfs_racct.c +++ b/module/os/freebsd/zfs/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/os/linux/spl/spl-zone.c b/module/os/linux/spl/spl-zone.c index 58b5e0dc4..45c2999a4 100644 --- a/module/os/linux/spl/spl-zone.c +++ b/module/os/linux/spl/spl-zone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 Klara Systems, Inc. * All rights reserved. diff --git a/module/os/linux/zfs/zfs_racct.c b/module/os/linux/zfs/zfs_racct.c index ce197caa4..4dbd6a28b 100644 --- a/module/os/linux/zfs/zfs_racct.c +++ b/module/os/linux/zfs/zfs_racct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021 iXsystems, Inc. * diff --git a/module/zfs/lz4.c b/module/zfs/lz4.c index 75a31bf17..26dd09acd 100644 --- a/module/zfs/lz4.c +++ b/module/zfs/lz4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* LZ4 - Fast LZ compression algorithm Copyright (C) 2011-present, Yann Collet. diff --git a/module/zfs/lz4_zfs.c b/module/zfs/lz4_zfs.c index 0033b5e50..0c03a6855 100644 --- a/module/zfs/lz4_zfs.c +++ b/module/zfs/lz4_zfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: BSD-2-Clause /* * LZ4 - Fast LZ compression algorithm * Header File