staging: erofs: update source file headers

- Use the correct style for all SPDX License Identifiers;
- Get rid of the unnecessary license boilerplate;
- Use "GPL-2.0-only" instead of "GPL-2.0" suggested-by Stephen.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190731155752.210602-2-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gao Xiang 2019-07-31 23:57:31 +08:00 committed by Greg Kroah-Hartman
parent b0d08afda8
commit 29b24f6ca1
20 changed files with 27 additions and 80 deletions

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
config EROFS_FS config EROFS_FS
tristate "EROFS filesystem support" tristate "EROFS filesystem support"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
EROFS_VERSION = "1.0pre1" EROFS_VERSION = "1.0pre1"

View File

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* linux/drivers/staging/erofs/compress.h * linux/drivers/staging/erofs/compress.h
* *

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/data.c * linux/drivers/staging/erofs/data.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "internal.h" #include "internal.h"
#include <linux/prefetch.h> #include <linux/prefetch.h>

View File

@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/decompressor.c * linux/drivers/staging/erofs/decompressor.c
* *

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/dir.c * linux/drivers/staging/erofs/dir.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "internal.h" #include "internal.h"

View File

@ -1,14 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 /* SPDX-License-Identifier: GPL-2.0-only OR Apache-2.0 */
* /*
* linux/drivers/staging/erofs/erofs_fs.h * linux/drivers/staging/erofs/erofs_fs.h
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is dual-licensed; you may select either the GNU General Public
* License version 2 or Apache License, Version 2.0. See the file COPYING
* in the main directory of the Linux distribution for more details.
*/ */
#ifndef __EROFS_FS_H #ifndef __EROFS_FS_H
#define __EROFS_FS_H #define __EROFS_FS_H

View File

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0-only */
* /*
* Tagged pointer implementation * A tagged pointer implementation
* *
* Copyright (C) 2018 Gao Xiang <gaoxiang25@huawei.com> * Copyright (C) 2018 Gao Xiang <gaoxiang25@huawei.com>
*/ */

View File

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0-only */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM erofs #define TRACE_SYSTEM erofs

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/inode.c * linux/drivers/staging/erofs/inode.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "xattr.h" #include "xattr.h"

View File

@ -1,14 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0-only */
* /*
* linux/drivers/staging/erofs/internal.h * linux/drivers/staging/erofs/internal.h
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#ifndef __INTERNAL_H #ifndef __INTERNAL_H
#define __INTERNAL_H #define __INTERNAL_H

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/namei.c * linux/drivers/staging/erofs/namei.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "internal.h" #include "internal.h"
#include "xattr.h" #include "xattr.h"

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/super.c * linux/drivers/staging/erofs/super.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>

View File

@ -1,14 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0-only */
* /*
* linux/drivers/staging/erofs/unzip_pagevec.h * linux/drivers/staging/erofs/unzip_pagevec.h
* *
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#ifndef __EROFS_UNZIP_PAGEVEC_H #ifndef __EROFS_UNZIP_PAGEVEC_H
#define __EROFS_UNZIP_PAGEVEC_H #define __EROFS_UNZIP_PAGEVEC_H

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/unzip_vle.c * linux/drivers/staging/erofs/unzip_vle.c
* *
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "unzip_vle.h" #include "unzip_vle.h"
#include "compress.h" #include "compress.h"

View File

@ -1,14 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0-only */
* /*
* linux/drivers/staging/erofs/unzip_vle.h * linux/drivers/staging/erofs/unzip_vle.h
* *
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#ifndef __EROFS_FS_UNZIP_VLE_H #ifndef __EROFS_FS_UNZIP_VLE_H
#define __EROFS_FS_UNZIP_VLE_H #define __EROFS_FS_UNZIP_VLE_H

View File

@ -1,16 +1,11 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/utils.c * linux/drivers/staging/erofs/utils.c
* *
* Copyright (C) 2018 HUAWEI, Inc. * Copyright (C) 2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include "internal.h" #include "internal.h"
#include <linux/pagevec.h> #include <linux/pagevec.h>

View File

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/xattr.c * linux/drivers/staging/erofs/xattr.c
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#include <linux/security.h> #include <linux/security.h>
#include "xattr.h" #include "xattr.h"

View File

@ -1,14 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0-only */
* /*
* linux/drivers/staging/erofs/xattr.h * linux/drivers/staging/erofs/xattr.h
* *
* Copyright (C) 2017-2018 HUAWEI, Inc. * Copyright (C) 2017-2018 HUAWEI, Inc.
* http://www.huawei.com/ * http://www.huawei.com/
* Created by Gao Xiang <gaoxiang25@huawei.com> * Created by Gao Xiang <gaoxiang25@huawei.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of the Linux
* distribution for more details.
*/ */
#ifndef __EROFS_XATTR_H #ifndef __EROFS_XATTR_H
#define __EROFS_XATTR_H #define __EROFS_XATTR_H

View File

@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* linux/drivers/staging/erofs/zmap.c * linux/drivers/staging/erofs/zmap.c
* *