Skip to content

Commit

Permalink
fix copyright notices
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
  • Loading branch information
BrainSlayer committed May 1, 2020
1 parent 60fe768 commit 00b862c
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 108 deletions.
7 changes: 5 additions & 2 deletions include/sys/arc.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2016 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright (c) 2012, 2016, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Use is subject to license terms.
*/

#ifndef _SYS_ARC_H
Expand Down
19 changes: 11 additions & 8 deletions include/sys/spa.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019 by Delphix. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
* Copyright 2013 Saso Kiselkov. All rights reserved.
* Copyright (c) 2014 Integros [integros.com]
* Copyright 2017 Joyent, Inc.
* Copyright (c) 2017, 2019, Datto Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation.
* Copyright (c) 2011, 2019, Delphix. All rights reserved.
* Copyright (c) 2011, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2014, Spectra Logic Corporation. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2014, Integros. All rights reserved.
* Copyright (c) 2017, Joyent, Inc. All rights reserved.
* Copyright (c) 2017, Datto Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Use is subject to license terms.
*/

#ifndef _SYS_SPA_H
Expand Down
11 changes: 7 additions & 4 deletions include/sys/zio.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012, 2018 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright (c) 2011, Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012, 2018, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
* Copyright 2016 Toomas Soome <tsoome@me.com>
* Copyright (c) 2016, Toomas Soome. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Use is subject to license terms.
*/

#ifndef _ZIO_H
Expand Down
6 changes: 4 additions & 2 deletions include/sys/zio_compress.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
*/

/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2009, Sun Microsystems Inc. All rights reserved.
* Copyright (c) 2015, 2016, Delphix. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Use is subject to license terms.
* Copyright (c) 2015, 2016 by Delphix. All rights reserved.
*/

#ifndef _SYS_ZIO_COMPRESS_H
Expand Down
13 changes: 8 additions & 5 deletions module/zcommon/zfeature_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@
*/

/*
* Copyright (c) 2011, 2018 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
* Copyright (c) 2014, Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation.
* Copyright (c) 2011, 2018, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, Joyent Inc. All rights reserved.
* Copyright (c) 2014, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#ifndef _KERNEL
Expand Down
10 changes: 6 additions & 4 deletions module/zcommon/zfs_prop.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
*/
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2018 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright 2016, Joyent, Inc.
* Portions Copyright (c) 2019 by Klara Inc.
* Copyright (c) 2010, Robert Milkowski. All rights reserved.
* Copyright (c) 2011, 2018, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2016, Joyent, Inc. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Use is subject to license terms.
*/

/* Portions Copyright 2010 Robert Milkowski */
Expand Down
6 changes: 3 additions & 3 deletions module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, Joyent, Inc.
* Copyright (c) 2018, Joyent Inc. All rights reserved.
* Copyright (c) 2011, 2019, Delphix. All rights reserved.
* Copyright (c) 2014, Saso Kiselkov. All rights reserved.
* Copyright (c) 2017, Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2017, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2019, loli10K <ezomori.nozomu@gmail.com>. All rights reserved.
* Copyright (c) 2020, George Amanakis. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2020, George Amanakis. All rights reserved.
*/

/*
Expand Down
12 changes: 8 additions & 4 deletions module/zfs/dbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@
*
* CDDL HEADER END
*/

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012, 2019 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
* Copyright (c) 2011, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2012, 2019, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2014, Spectra Logic Corporation. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#include <sys/zfs_context.h>
Expand Down
22 changes: 12 additions & 10 deletions module/zfs/dmu_objset.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2018 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
* Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
* Copyright (c) 2015, STRATO AG, Inc. All rights reserved.
* Copyright (c) 2016 Actifio, Inc. All rights reserved.
* Copyright 2017 Nexenta Systems, Inc.
* Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
* Copyright (c) 2010, Robert Milkowski. All rights reserved.
* Copyright (c) 2012, 2018, Delphix. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, Joyent Inc. All rights reserved.
* Copyright (c) 2014, Spectra Logic Corporation. All rights reserved.
* Copyright (c) 2015, STRATO AG. All rights reserved.
* Copyright (c) 2016, Actifio Inc. All rights reserved.
* Copyright (c) 2017, Nexenta Systems Inc. All Rights Reserved.
* Copyright (c) 2017, Open-E Inc. All Rights Reserved.
* Copyright (c) 2018, loli10K <ezomori.nozomu@gmail.com>. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

/* Portions Copyright 2010 Robert Milkowski */

#include <sys/zfeature.h>
#include <sys/cred.h>
#include <sys/zfs_context.h>
Expand Down
17 changes: 10 additions & 7 deletions module/zfs/dmu_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@
*
* CDDL HEADER END
*/

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2011, 2018 by Delphix. All rights reserved.
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
* Copyright 2014 HybridCluster. All rights reserved.
* Copyright 2016 RackTop Systems.
* Copyright (c) 2016 Actifio, Inc. All rights reserved.
* Copyright (c) 2011, Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2011, 2018, Delphix. All rights reserved.
* Copyright (c) 2014, Joyent Inc. All rights reserved.
* Copyright (c) 2014, HybridCluster. All rights reserved.
* Copyright (c) 2016, RackTop Systems. All rights reserved.
* Copyright (c) 2016, Actifio Inc. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#include <sys/dmu.h>
Expand Down Expand Up @@ -1956,7 +1960,6 @@ setup_featureflags(struct dmu_send_params *dspp, objset_t *os,
*featureflags |= DMU_BACKUP_FEATURE_LZ4;
}

/* XXX: Allan: should be able to use embedok without implying ZSTD */
if ((*featureflags &
(DMU_BACKUP_FEATURE_EMBED_DATA | DMU_BACKUP_FEATURE_COMPRESSED |
DMU_BACKUP_FEATURE_RAW)) != 0 &&
Expand Down
17 changes: 10 additions & 7 deletions module/zfs/dsl_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2018 by Delphix. All rights reserved.
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
* Copyright (c) 2014 RackTop Systems.
* Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
* Copyright (c) 2016 Actifio, Inc. All rights reserved.
* Copyright 2016, OmniTI Computer Consulting, Inc. All rights reserved.
* Copyright 2017 Nexenta Systems, Inc.
* Copyright (c) 2011, 2018, Delphix. All rights reserved.
* Copyright (c) 2014, Joyent Inc. All rights reserved.
* Copyright (c) 2014, RackTop Systems. All rights reserved.
* Copyright (c) 2014, Spectra Logic Corporation. All rights reserved.
* Copyright (c) 2016, Actifio Inc. All rights reserved.
* Copyright (c) 2016, OmniTI Computer Consulting Inc. All rights reserved.
* Copyright (c) 2017, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#include <sys/dmu_objset.h>
Expand Down
1 change: 1 addition & 0 deletions module/zfs/spa_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
#include <sys/btree.h>
#include <sys/zfeature.h>
#include <sys/qat.h>
#include <sys/zstd/zstd.h>

/*
* SPA locking
Expand Down
5 changes: 4 additions & 1 deletion module/zfs/zcp_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
*/

/*
* Copyright (c) 2016 by Delphix. All rights reserved.
* Copyright (c) 2016, Delphix. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#include <sys/lua/lua.h>
Expand Down
10 changes: 7 additions & 3 deletions module/zfs/zio.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@
*
* CDDL HEADER END
*/

/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019 by Delphix. All rights reserved.
* Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation.
* Copyright (c) 2011, 2019, Delphix. All rights reserved.
* Copyright (c) 2011, Nexenta Systems Inc. All rights reserved.
* Copyright (c) 2017, Intel Corporation. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/

#include <sys/sysmacros.h>
Expand Down
19 changes: 8 additions & 11 deletions module/zfs/zio_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,20 @@
*/

/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2009, Sun Microsystems Inc. All rights reserved.
* Copyright (c) 2013, Saso Kiselkov. All rights reserved.
* Copyright (c) 2013, 2018, Delphix. All rights reserved.
* Copyright (c) 2019, Klara Inc. All rights reserved.
* Copyright (c) 2019, Allan Jude. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
*/

/*
* Copyright (c) 2013, 2018 by Delphix. All rights reserved.
*/

#include <sys/zfs_context.h>
#include <sys/spa.h>
#include <sys/zfeature.h>
#include <sys/zio.h>
#include <sys/zio_compress.h>
#include <sys/zstd/zstd.h>

/*
* If nonzero, every 1/X decompression attempts will fail, simulating
Expand All @@ -62,9 +60,8 @@ zio_compress_info_t zio_compress_table[ZIO_COMPRESS_FUNCTIONS] = {
{"gzip-8", 8, gzip_compress, gzip_decompress, NULL},
{"gzip-9", 9, gzip_compress, gzip_decompress, NULL},
{"zle", 64, zle_compress, zle_decompress, NULL},
{"lz4", 0, lz4_compress_zfs, lz4_decompress_zfs,
NULL},
{"zstd", ZIO_ZSTD_LEVEL_DEFAULT, zstd_compress, zstd_decompress,
{"lz4", 0, lz4_compress_zfs, lz4_decompress_zfs, NULL},
{"zstd", ZIO_ZSTD_LEVEL_DEFAULT, zstd_compress, zstd_decompress,
zstd_decompress_level},
};

Expand Down
43 changes: 19 additions & 24 deletions module/zstd/zstd.c
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
/*
* BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
* CDDL HEADER START
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer
* Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/

/*
* Copyright (c) 2016-2018 by Klara Systems Inc.
* Copyright (c) 2016-2018 Allan Jude <allanjude@freebsd.org>
* Copyright (c) 2018-2019 Sebastian Gottschall <s.gottschall@dd-wrt.com>
* Copyright (c) 2016-2018, Klara Systems Inc. All rights reserved.
* Copyright (c) 2016-2018, Allan Jude. All rights reserved.
* Copyright (c) 2018-2019, Sebastian Gottschall. All rights reserved.
* Copyright (c) 2019, Michael Niewöhner. All rights reserved.
*/

#include <sys/param.h>
Expand Down
Loading

0 comments on commit 00b862c

Please sign in to comment.