All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] erofs-utils: add Apache 2.0 license
@ 2021-12-01 15:59 Huang Jianan
  2021-12-01 17:03 ` Gao Xiang
  2021-12-02  2:21 ` [PATCH] " Yue Hu
  0 siblings, 2 replies; 8+ messages in thread
From: Huang Jianan @ 2021-12-01 15:59 UTC (permalink / raw)
  To: linux-erofs, xiang

Add Apache 2.0 to license for liberofs.

Signed-off-by: Huang Jianan <huangjianan@oppo.com>
---
 include/erofs/blobchunk.h      | 2 +-
 include/erofs/block_list.h     | 2 +-
 include/erofs/cache.h          | 2 +-
 include/erofs/compress.h       | 2 +-
 include/erofs/compress_hints.h | 2 +-
 include/erofs/config.h         | 2 +-
 include/erofs/decompress.h     | 2 +-
 include/erofs/defs.h           | 2 +-
 include/erofs/err.h            | 2 +-
 include/erofs/exclude.h        | 2 +-
 include/erofs/flex-array.h     | 2 +-
 include/erofs/hashmap.h        | 2 +-
 include/erofs/hashtable.h      | 2 +-
 include/erofs/inode.h          | 2 +-
 include/erofs/internal.h       | 2 +-
 include/erofs/io.h             | 2 +-
 include/erofs/list.h           | 2 +-
 include/erofs/print.h          | 2 +-
 include/erofs/trace.h          | 2 +-
 include/erofs/xattr.h          | 2 +-
 lib/Makefile.am                | 2 +-
 lib/blobchunk.c                | 2 +-
 lib/block_list.c               | 2 +-
 lib/cache.c                    | 2 +-
 lib/compress.c                 | 2 +-
 lib/compress_hints.c           | 2 +-
 lib/compressor.c               | 2 +-
 lib/compressor.h               | 2 +-
 lib/compressor_liblzma.c       | 2 +-
 lib/compressor_lz4.c           | 2 +-
 lib/compressor_lz4hc.c         | 2 +-
 lib/config.c                   | 2 +-
 lib/data.c                     | 2 +-
 lib/decompress.c               | 2 +-
 lib/exclude.c                  | 2 +-
 lib/hashmap.c                  | 2 +-
 lib/inode.c                    | 2 +-
 lib/io.c                       | 2 +-
 lib/namei.c                    | 2 +-
 lib/super.c                    | 2 +-
 lib/xattr.c                    | 2 +-
 lib/zmap.c                     | 2 +-
 42 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/include/erofs/blobchunk.h b/include/erofs/blobchunk.h
index 4e1ae79..49cb7bf 100644
--- a/include/erofs/blobchunk.h
+++ b/include/erofs/blobchunk.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * erofs-utils/lib/blobchunk.h
  *
diff --git a/include/erofs/block_list.h b/include/erofs/block_list.h
index ca8053e..78fab44 100644
--- a/include/erofs/block_list.h
+++ b/include/erofs/block_list.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2021, Coolpad Group Limited.
  * Created by Yue Hu <huyue2@yulong.com>
diff --git a/include/erofs/cache.h b/include/erofs/cache.h
index 7957ee5..de12399 100644
--- a/include/erofs/cache.h
+++ b/include/erofs/cache.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/compress.h b/include/erofs/compress.h
index fdbf5ff..21eac57 100644
--- a/include/erofs/compress.h
+++ b/include/erofs/compress.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/compress_hints.h b/include/erofs/compress_hints.h
index 43f80e1..659c5b6 100644
--- a/include/erofs/compress_hints.h
+++ b/include/erofs/compress_hints.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/include/erofs/config.h b/include/erofs/config.h
index cb064b6..e41c079 100644
--- a/include/erofs/config.h
+++ b/include/erofs/config.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/decompress.h b/include/erofs/decompress.h
index e649c80..82bf7b8 100644
--- a/include/erofs/decompress.h
+++ b/include/erofs/decompress.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/include/erofs/defs.h b/include/erofs/defs.h
index 4db237f..e745bc0 100644
--- a/include/erofs/defs.h
+++ b/include/erofs/defs.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/err.h b/include/erofs/err.h
index 18f152a..08b0bdb 100644
--- a/include/erofs/err.h
+++ b/include/erofs/err.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/exclude.h b/include/erofs/exclude.h
index 599f018..3f17032 100644
--- a/include/erofs/exclude.h
+++ b/include/erofs/exclude.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Created by Li Guifu <bluce.lee@aliyun.com>
  */
diff --git a/include/erofs/flex-array.h b/include/erofs/flex-array.h
index 9b1642f..bf762ce 100644
--- a/include/erofs/flex-array.h
+++ b/include/erofs/flex-array.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
 #ifndef __EROFS_FLEX_ARRAY_H
 #define __EROFS_FLEX_ARRAY_H
 
diff --git a/include/erofs/hashmap.h b/include/erofs/hashmap.h
index 3d38578..29d3479 100644
--- a/include/erofs/hashmap.h
+++ b/include/erofs/hashmap.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
 #ifndef __EROFS_HASHMAP_H
 #define __EROFS_HASHMAP_H
 
diff --git a/include/erofs/hashtable.h b/include/erofs/hashtable.h
index 3c4dfc1..e6ba823 100644
--- a/include/erofs/hashtable.h
+++ b/include/erofs/hashtable.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
 /*
  * Original code taken from 'linux/include/linux/hash{,table}.h'
  */
diff --git a/include/erofs/inode.h b/include/erofs/inode.h
index e23d65f..79b39b0 100644
--- a/include/erofs/inode.h
+++ b/include/erofs/inode.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/internal.h b/include/erofs/internal.h
index a68de32..e6beb8c 100644
--- a/include/erofs/internal.h
+++ b/include/erofs/internal.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/io.h b/include/erofs/io.h
index 6f51e06..0f58c70 100644
--- a/include/erofs/io.h
+++ b/include/erofs/io.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/list.h b/include/erofs/list.h
index fd5358d..2a0e961 100644
--- a/include/erofs/list.h
+++ b/include/erofs/list.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/print.h b/include/erofs/print.h
index 2213d1d..f188a6b 100644
--- a/include/erofs/print.h
+++ b/include/erofs/print.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/trace.h b/include/erofs/trace.h
index 893e16c..398e331 100644
--- a/include/erofs/trace.h
+++ b/include/erofs/trace.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
  */
diff --git a/include/erofs/xattr.h b/include/erofs/xattr.h
index 8e68812..226e984 100644
--- a/include/erofs/xattr.h
+++ b/include/erofs/xattr.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Originally contributed by an anonymous person,
  * heavily changed by Li Guifu <blucerlee@gmail.com>
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 67ba798..c745e49 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 
 noinst_LTLIBRARIES = liberofs.la
 noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \
diff --git a/lib/blobchunk.c b/lib/blobchunk.c
index b605b0b..5e9a88a 100644
--- a/lib/blobchunk.c
+++ b/lib/blobchunk.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * erofs-utils/lib/blobchunk.c
  *
diff --git a/lib/block_list.c b/lib/block_list.c
index 87609a9..896fb01 100644
--- a/lib/block_list.c
+++ b/lib/block_list.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2021, Coolpad Group Limited.
  * Created by Yue Hu <huyue2@yulong.com>
diff --git a/lib/cache.c b/lib/cache.c
index 83d591f..f820c0b 100644
--- a/lib/cache.c
+++ b/lib/cache.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compress.c b/lib/compress.c
index 98be7a2..6f16e0c 100644
--- a/lib/compress.c
+++ b/lib/compress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compress_hints.c b/lib/compress_hints.c
index 81a8ac9..25adf35 100644
--- a/lib/compress_hints.c
+++ b/lib/compress_hints.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/compressor.c b/lib/compressor.c
index 6362825..a4d696e 100644
--- a/lib/compressor.c
+++ b/lib/compressor.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor.h b/lib/compressor.h
index 1ea2724..fd28dfe 100644
--- a/lib/compressor.h
+++ b/lib/compressor.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor_liblzma.c b/lib/compressor_liblzma.c
index 578ba06..42f3ac6 100644
--- a/lib/compressor_liblzma.c
+++ b/lib/compressor_liblzma.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * erofs-utils/lib/compressor_liblzma.c
  *
diff --git a/lib/compressor_lz4.c b/lib/compressor_lz4.c
index fc8c23c..0936d03 100644
--- a/lib/compressor_lz4.c
+++ b/lib/compressor_lz4.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor_lz4hc.c b/lib/compressor_lz4hc.c
index 3f68b00..8f2d25c 100644
--- a/lib/compressor_lz4hc.c
+++ b/lib/compressor_lz4hc.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/config.c b/lib/config.c
index f1c8edf..d3298da 100644
--- a/lib/config.c
+++ b/lib/config.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/data.c b/lib/data.c
index 27710f9..e57707e 100644
--- a/lib/data.c
+++ b/lib/data.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
  * Compression support by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/decompress.c b/lib/decompress.c
index f313e41..359dae7 100644
--- a/lib/decompress.c
+++ b/lib/decompress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/exclude.c b/lib/exclude.c
index 2f980a3..e3c4ed5 100644
--- a/lib/exclude.c
+++ b/lib/exclude.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <bluce.lee@aliyun.com>
  */
diff --git a/lib/hashmap.c b/lib/hashmap.c
index e11bd8d..6c373af 100644
--- a/lib/hashmap.c
+++ b/lib/hashmap.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
 /*
  * Copied from https://github.com/git/git.git
  * Generic implementation of hash-based key value mappings.
diff --git a/lib/inode.c b/lib/inode.c
index 461c797..b6d3092 100644
--- a/lib/inode.c
+++ b/lib/inode.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/io.c b/lib/io.c
index a0d366a..5bc3432 100644
--- a/lib/io.c
+++ b/lib/io.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/namei.c b/lib/namei.c
index 7377e74..4124170 100644
--- a/lib/namei.c
+++ b/lib/namei.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <blucerlee@gmail.com>
  */
diff --git a/lib/super.c b/lib/super.c
index 3ccc551..69522bd 100644
--- a/lib/super.c
+++ b/lib/super.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <blucerlee@gmail.com>
  */
diff --git a/lib/xattr.c b/lib/xattr.c
index 00fb963..02f93f2 100644
--- a/lib/xattr.c
+++ b/lib/xattr.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Originally contributed by an anonymous person,
  * heavily changed by Li Guifu <blucerlee@gmail.com>
diff --git a/lib/zmap.c b/lib/zmap.c
index 3715c47..09d5d35 100644
--- a/lib/zmap.c
+++ b/lib/zmap.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * (a large amount of code was adapted from Linux kernel. )
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] erofs-utils: add Apache 2.0 license
  2021-12-01 15:59 [PATCH] erofs-utils: add Apache 2.0 license Huang Jianan
@ 2021-12-01 17:03 ` Gao Xiang
  2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
  2021-12-02  2:21 ` [PATCH] " Yue Hu
  1 sibling, 1 reply; 8+ messages in thread
From: Gao Xiang @ 2021-12-01 17:03 UTC (permalink / raw)
  To: Huang Jianan; +Cc: linux-erofs

Hi Jianan,

Personally, I'm very happy to dual-license liberofs from
now.

On Wed, Dec 01, 2021 at 11:59:52PM +0800, Huang Jianan wrote:
> Add Apache 2.0 to license for liberofs.

Let's release liberofs under GPL-2.0+ OR Apache-2.0 license
for better integration.

> 
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>
> ---

...

>  include/erofs/flex-array.h     | 2 +-
>  include/erofs/hashmap.h        | 2 +-
>  include/erofs/hashtable.h      | 2 +-

I think we may not change these three files for now.
Maybe we need to find some alternative for these later.

Also, it would be much better to get others Acked-by
(especially Li Guifu) as many as possible.

Thanks,
Gao Xiang

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] erofs-utils: add Apache 2.0 license
  2021-12-01 15:59 [PATCH] erofs-utils: add Apache 2.0 license Huang Jianan
  2021-12-01 17:03 ` Gao Xiang
@ 2021-12-02  2:21 ` Yue Hu
  1 sibling, 0 replies; 8+ messages in thread
From: Yue Hu @ 2021-12-02  2:21 UTC (permalink / raw)
  To: Huang Jianan; +Cc: geshifei, linux-erofs, zhangwen, shaojunjun

On Wed,  1 Dec 2021 23:59:52 +0800
Huang Jianan <jnhuang95@gmail.com> wrote:

> Add Apache 2.0 to license for liberofs.
> 
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>
> ---
>  include/erofs/blobchunk.h      | 2 +-
>  include/erofs/block_list.h     | 2 +-
>  include/erofs/cache.h          | 2 +-
>  include/erofs/compress.h       | 2 +-
>  include/erofs/compress_hints.h | 2 +-
>  include/erofs/config.h         | 2 +-
>  include/erofs/decompress.h     | 2 +-
>  include/erofs/defs.h           | 2 +-
>  include/erofs/err.h            | 2 +-
>  include/erofs/exclude.h        | 2 +-
>  include/erofs/flex-array.h     | 2 +-
>  include/erofs/hashmap.h        | 2 +-
>  include/erofs/hashtable.h      | 2 +-
>  include/erofs/inode.h          | 2 +-
>  include/erofs/internal.h       | 2 +-
>  include/erofs/io.h             | 2 +-
>  include/erofs/list.h           | 2 +-
>  include/erofs/print.h          | 2 +-
>  include/erofs/trace.h          | 2 +-
>  include/erofs/xattr.h          | 2 +-
>  lib/Makefile.am                | 2 +-
>  lib/blobchunk.c                | 2 +-
>  lib/block_list.c               | 2 +-
>  lib/cache.c                    | 2 +-
>  lib/compress.c                 | 2 +-
>  lib/compress_hints.c           | 2 +-
>  lib/compressor.c               | 2 +-
>  lib/compressor.h               | 2 +-
>  lib/compressor_liblzma.c       | 2 +-
>  lib/compressor_lz4.c           | 2 +-
>  lib/compressor_lz4hc.c         | 2 +-
>  lib/config.c                   | 2 +-
>  lib/data.c                     | 2 +-
>  lib/decompress.c               | 2 +-
>  lib/exclude.c                  | 2 +-
>  lib/hashmap.c                  | 2 +-
>  lib/inode.c                    | 2 +-
>  lib/io.c                       | 2 +-
>  lib/namei.c                    | 2 +-
>  lib/super.c                    | 2 +-
>  lib/xattr.c                    | 2 +-
>  lib/zmap.c                     | 2 +-
>  42 files changed, 42 insertions(+), 42 deletions(-)
> 
> diff --git a/include/erofs/blobchunk.h b/include/erofs/blobchunk.h
> index 4e1ae79..49cb7bf 100644
> --- a/include/erofs/blobchunk.h
> +++ b/include/erofs/blobchunk.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * erofs-utils/lib/blobchunk.h
>   *
> diff --git a/include/erofs/block_list.h b/include/erofs/block_list.h
> index ca8053e..78fab44 100644
> --- a/include/erofs/block_list.h
> +++ b/include/erofs/block_list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C), 2021, Coolpad Group Limited.
>   * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/include/erofs/cache.h b/include/erofs/cache.h
> index 7957ee5..de12399 100644
> --- a/include/erofs/cache.h
> +++ b/include/erofs/cache.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/compress.h b/include/erofs/compress.h
> index fdbf5ff..21eac57 100644
> --- a/include/erofs/compress.h
> +++ b/include/erofs/compress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/compress_hints.h b/include/erofs/compress_hints.h
> index 43f80e1..659c5b6 100644
> --- a/include/erofs/compress_hints.h
> +++ b/include/erofs/compress_hints.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>   * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/config.h b/include/erofs/config.h
> index cb064b6..e41c079 100644
> --- a/include/erofs/config.h
> +++ b/include/erofs/config.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/decompress.h b/include/erofs/decompress.h
> index e649c80..82bf7b8 100644
> --- a/include/erofs/decompress.h
> +++ b/include/erofs/decompress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>   * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/defs.h b/include/erofs/defs.h
> index 4db237f..e745bc0 100644
> --- a/include/erofs/defs.h
> +++ b/include/erofs/defs.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/err.h b/include/erofs/err.h
> index 18f152a..08b0bdb 100644
> --- a/include/erofs/err.h
> +++ b/include/erofs/err.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/exclude.h b/include/erofs/exclude.h
> index 599f018..3f17032 100644
> --- a/include/erofs/exclude.h
> +++ b/include/erofs/exclude.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Created by Li Guifu <bluce.lee@aliyun.com>
>   */
> diff --git a/include/erofs/flex-array.h b/include/erofs/flex-array.h
> index 9b1642f..bf762ce 100644
> --- a/include/erofs/flex-array.h
> +++ b/include/erofs/flex-array.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
>  #ifndef __EROFS_FLEX_ARRAY_H
>  #define __EROFS_FLEX_ARRAY_H
>  
> diff --git a/include/erofs/hashmap.h b/include/erofs/hashmap.h
> index 3d38578..29d3479 100644
> --- a/include/erofs/hashmap.h
> +++ b/include/erofs/hashmap.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
>  #ifndef __EROFS_HASHMAP_H
>  #define __EROFS_HASHMAP_H
>  
> diff --git a/include/erofs/hashtable.h b/include/erofs/hashtable.h
> index 3c4dfc1..e6ba823 100644
> --- a/include/erofs/hashtable.h
> +++ b/include/erofs/hashtable.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
>  /*
>   * Original code taken from 'linux/include/linux/hash{,table}.h'
>   */
> diff --git a/include/erofs/inode.h b/include/erofs/inode.h
> index e23d65f..79b39b0 100644
> --- a/include/erofs/inode.h
> +++ b/include/erofs/inode.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/internal.h b/include/erofs/internal.h
> index a68de32..e6beb8c 100644
> --- a/include/erofs/internal.h
> +++ b/include/erofs/internal.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/io.h b/include/erofs/io.h
> index 6f51e06..0f58c70 100644
> --- a/include/erofs/io.h
> +++ b/include/erofs/io.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/list.h b/include/erofs/list.h
> index fd5358d..2a0e961 100644
> --- a/include/erofs/list.h
> +++ b/include/erofs/list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/print.h b/include/erofs/print.h
> index 2213d1d..f188a6b 100644
> --- a/include/erofs/print.h
> +++ b/include/erofs/print.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/include/erofs/trace.h b/include/erofs/trace.h
> index 893e16c..398e331 100644
> --- a/include/erofs/trace.h
> +++ b/include/erofs/trace.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>   */
> diff --git a/include/erofs/xattr.h b/include/erofs/xattr.h
> index 8e68812..226e984 100644
> --- a/include/erofs/xattr.h
> +++ b/include/erofs/xattr.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Originally contributed by an anonymous person,
>   * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/Makefile.am b/lib/Makefile.am
> index 67ba798..c745e49 100644
> --- a/lib/Makefile.am
> +++ b/lib/Makefile.am
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0+
> +# SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  
>  noinst_LTLIBRARIES = liberofs.la
>  noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \
> diff --git a/lib/blobchunk.c b/lib/blobchunk.c
> index b605b0b..5e9a88a 100644
> --- a/lib/blobchunk.c
> +++ b/lib/blobchunk.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * erofs-utils/lib/blobchunk.c
>   *
> diff --git a/lib/block_list.c b/lib/block_list.c
> index 87609a9..896fb01 100644
> --- a/lib/block_list.c
> +++ b/lib/block_list.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0

Acked-by: Yue Hu <huyue2@yulong.com>

>  /*
>   * Copyright (C), 2021, Coolpad Group Limited.
>   * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/lib/cache.c b/lib/cache.c
> index 83d591f..f820c0b 100644
> --- a/lib/cache.c
> +++ b/lib/cache.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/compress.c b/lib/compress.c
> index 98be7a2..6f16e0c 100644
> --- a/lib/compress.c
> +++ b/lib/compress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/compress_hints.c b/lib/compress_hints.c
> index 81a8ac9..25adf35 100644
> --- a/lib/compress_hints.c
> +++ b/lib/compress_hints.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>   * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/compressor.c b/lib/compressor.c
> index 6362825..a4d696e 100644
> --- a/lib/compressor.c
> +++ b/lib/compressor.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/compressor.h b/lib/compressor.h
> index 1ea2724..fd28dfe 100644
> --- a/lib/compressor.h
> +++ b/lib/compressor.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/compressor_liblzma.c b/lib/compressor_liblzma.c
> index 578ba06..42f3ac6 100644
> --- a/lib/compressor_liblzma.c
> +++ b/lib/compressor_liblzma.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * erofs-utils/lib/compressor_liblzma.c
>   *
> diff --git a/lib/compressor_lz4.c b/lib/compressor_lz4.c
> index fc8c23c..0936d03 100644
> --- a/lib/compressor_lz4.c
> +++ b/lib/compressor_lz4.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/compressor_lz4hc.c b/lib/compressor_lz4hc.c
> index 3f68b00..8f2d25c 100644
> --- a/lib/compressor_lz4hc.c
> +++ b/lib/compressor_lz4hc.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/config.c b/lib/config.c
> index f1c8edf..d3298da 100644
> --- a/lib/config.c
> +++ b/lib/config.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/data.c b/lib/data.c
> index 27710f9..e57707e 100644
> --- a/lib/data.c
> +++ b/lib/data.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>   * Compression support by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/decompress.c b/lib/decompress.c
> index f313e41..359dae7 100644
> --- a/lib/decompress.c
> +++ b/lib/decompress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>   * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/exclude.c b/lib/exclude.c
> index 2f980a3..e3c4ed5 100644
> --- a/lib/exclude.c
> +++ b/lib/exclude.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Created by Li Guifu <bluce.lee@aliyun.com>
>   */
> diff --git a/lib/hashmap.c b/lib/hashmap.c
> index e11bd8d..6c373af 100644
> --- a/lib/hashmap.c
> +++ b/lib/hashmap.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
>  /*
>   * Copied from https://github.com/git/git.git
>   * Generic implementation of hash-based key value mappings.
> diff --git a/lib/inode.c b/lib/inode.c
> index 461c797..b6d3092 100644
> --- a/lib/inode.c
> +++ b/lib/inode.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018-2019 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/io.c b/lib/io.c
> index a0d366a..5bc3432 100644
> --- a/lib/io.c
> +++ b/lib/io.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Copyright (C) 2018 HUAWEI, Inc.
>   *             http://www.huawei.com/
> diff --git a/lib/namei.c b/lib/namei.c
> index 7377e74..4124170 100644
> --- a/lib/namei.c
> +++ b/lib/namei.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Created by Li Guifu <blucerlee@gmail.com>
>   */
> diff --git a/lib/super.c b/lib/super.c
> index 3ccc551..69522bd 100644
> --- a/lib/super.c
> +++ b/lib/super.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Created by Li Guifu <blucerlee@gmail.com>
>   */
> diff --git a/lib/xattr.c b/lib/xattr.c
> index 00fb963..02f93f2 100644
> --- a/lib/xattr.c
> +++ b/lib/xattr.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * Originally contributed by an anonymous person,
>   * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/zmap.c b/lib/zmap.c
> index 3715c47..09d5d35 100644
> --- a/lib/zmap.c
> +++ b/lib/zmap.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>  /*
>   * (a large amount of code was adapted from Linux kernel. )
>   *


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2] erofs-utils: add Apache 2.0 license
  2021-12-01 17:03 ` Gao Xiang
@ 2021-12-02  2:25   ` Huang Jianan via Linux-erofs
  2021-12-02 11:12     ` Gao Xiang
                       ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Huang Jianan via Linux-erofs @ 2021-12-02  2:25 UTC (permalink / raw)
  To: linux-erofs, hsiangkao

Let's release liberofs under GPL-2.0+ OR Apache-2.0 license for
better integration.

Signed-off-by: Huang Jianan <huangjianan@oppo.com>
---
 include/erofs/blobchunk.h      | 2 +-
 include/erofs/block_list.h     | 2 +-
 include/erofs/cache.h          | 2 +-
 include/erofs/compress.h       | 2 +-
 include/erofs/compress_hints.h | 2 +-
 include/erofs/config.h         | 2 +-
 include/erofs/decompress.h     | 2 +-
 include/erofs/defs.h           | 2 +-
 include/erofs/err.h            | 2 +-
 include/erofs/exclude.h        | 2 +-
 include/erofs/inode.h          | 2 +-
 include/erofs/internal.h       | 2 +-
 include/erofs/io.h             | 2 +-
 include/erofs/list.h           | 2 +-
 include/erofs/print.h          | 2 +-
 include/erofs/trace.h          | 2 +-
 include/erofs/xattr.h          | 2 +-
 lib/Makefile.am                | 2 +-
 lib/blobchunk.c                | 2 +-
 lib/block_list.c               | 2 +-
 lib/cache.c                    | 2 +-
 lib/compress.c                 | 2 +-
 lib/compress_hints.c           | 2 +-
 lib/compressor.c               | 2 +-
 lib/compressor.h               | 2 +-
 lib/compressor_liblzma.c       | 2 +-
 lib/compressor_lz4.c           | 2 +-
 lib/compressor_lz4hc.c         | 2 +-
 lib/config.c                   | 2 +-
 lib/data.c                     | 2 +-
 lib/decompress.c               | 2 +-
 lib/exclude.c                  | 2 +-
 lib/inode.c                    | 2 +-
 lib/io.c                       | 2 +-
 lib/namei.c                    | 2 +-
 lib/super.c                    | 2 +-
 lib/xattr.c                    | 2 +-
 lib/zmap.c                     | 2 +-
 38 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/include/erofs/blobchunk.h b/include/erofs/blobchunk.h
index 4e1ae79..49cb7bf 100644
--- a/include/erofs/blobchunk.h
+++ b/include/erofs/blobchunk.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * erofs-utils/lib/blobchunk.h
  *
diff --git a/include/erofs/block_list.h b/include/erofs/block_list.h
index ca8053e..78fab44 100644
--- a/include/erofs/block_list.h
+++ b/include/erofs/block_list.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2021, Coolpad Group Limited.
  * Created by Yue Hu <huyue2@yulong.com>
diff --git a/include/erofs/cache.h b/include/erofs/cache.h
index 7957ee5..de12399 100644
--- a/include/erofs/cache.h
+++ b/include/erofs/cache.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/compress.h b/include/erofs/compress.h
index fdbf5ff..21eac57 100644
--- a/include/erofs/compress.h
+++ b/include/erofs/compress.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/compress_hints.h b/include/erofs/compress_hints.h
index 43f80e1..659c5b6 100644
--- a/include/erofs/compress_hints.h
+++ b/include/erofs/compress_hints.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/include/erofs/config.h b/include/erofs/config.h
index cb064b6..e41c079 100644
--- a/include/erofs/config.h
+++ b/include/erofs/config.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/decompress.h b/include/erofs/decompress.h
index e649c80..82bf7b8 100644
--- a/include/erofs/decompress.h
+++ b/include/erofs/decompress.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/include/erofs/defs.h b/include/erofs/defs.h
index 4db237f..e745bc0 100644
--- a/include/erofs/defs.h
+++ b/include/erofs/defs.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/err.h b/include/erofs/err.h
index 18f152a..08b0bdb 100644
--- a/include/erofs/err.h
+++ b/include/erofs/err.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/exclude.h b/include/erofs/exclude.h
index 599f018..3f17032 100644
--- a/include/erofs/exclude.h
+++ b/include/erofs/exclude.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Created by Li Guifu <bluce.lee@aliyun.com>
  */
diff --git a/include/erofs/inode.h b/include/erofs/inode.h
index e23d65f..79b39b0 100644
--- a/include/erofs/inode.h
+++ b/include/erofs/inode.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/internal.h b/include/erofs/internal.h
index a68de32..e6beb8c 100644
--- a/include/erofs/internal.h
+++ b/include/erofs/internal.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/io.h b/include/erofs/io.h
index 6f51e06..0f58c70 100644
--- a/include/erofs/io.h
+++ b/include/erofs/io.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/list.h b/include/erofs/list.h
index fd5358d..2a0e961 100644
--- a/include/erofs/list.h
+++ b/include/erofs/list.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/print.h b/include/erofs/print.h
index 2213d1d..f188a6b 100644
--- a/include/erofs/print.h
+++ b/include/erofs/print.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/include/erofs/trace.h b/include/erofs/trace.h
index 893e16c..398e331 100644
--- a/include/erofs/trace.h
+++ b/include/erofs/trace.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
  */
diff --git a/include/erofs/xattr.h b/include/erofs/xattr.h
index 8e68812..226e984 100644
--- a/include/erofs/xattr.h
+++ b/include/erofs/xattr.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Originally contributed by an anonymous person,
  * heavily changed by Li Guifu <blucerlee@gmail.com>
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 67ba798..c745e49 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0+
+# SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 
 noinst_LTLIBRARIES = liberofs.la
 noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \
diff --git a/lib/blobchunk.c b/lib/blobchunk.c
index b605b0b..5e9a88a 100644
--- a/lib/blobchunk.c
+++ b/lib/blobchunk.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * erofs-utils/lib/blobchunk.c
  *
diff --git a/lib/block_list.c b/lib/block_list.c
index 87609a9..896fb01 100644
--- a/lib/block_list.c
+++ b/lib/block_list.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2021, Coolpad Group Limited.
  * Created by Yue Hu <huyue2@yulong.com>
diff --git a/lib/cache.c b/lib/cache.c
index 83d591f..f820c0b 100644
--- a/lib/cache.c
+++ b/lib/cache.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compress.c b/lib/compress.c
index 98be7a2..6f16e0c 100644
--- a/lib/compress.c
+++ b/lib/compress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compress_hints.c b/lib/compress_hints.c
index 81a8ac9..25adf35 100644
--- a/lib/compress_hints.c
+++ b/lib/compress_hints.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/compressor.c b/lib/compressor.c
index 6362825..a4d696e 100644
--- a/lib/compressor.c
+++ b/lib/compressor.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor.h b/lib/compressor.h
index 1ea2724..fd28dfe 100644
--- a/lib/compressor.h
+++ b/lib/compressor.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor_liblzma.c b/lib/compressor_liblzma.c
index 578ba06..42f3ac6 100644
--- a/lib/compressor_liblzma.c
+++ b/lib/compressor_liblzma.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * erofs-utils/lib/compressor_liblzma.c
  *
diff --git a/lib/compressor_lz4.c b/lib/compressor_lz4.c
index fc8c23c..0936d03 100644
--- a/lib/compressor_lz4.c
+++ b/lib/compressor_lz4.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/compressor_lz4hc.c b/lib/compressor_lz4hc.c
index 3f68b00..8f2d25c 100644
--- a/lib/compressor_lz4hc.c
+++ b/lib/compressor_lz4hc.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/config.c b/lib/config.c
index f1c8edf..d3298da 100644
--- a/lib/config.c
+++ b/lib/config.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/data.c b/lib/data.c
index 27710f9..e57707e 100644
--- a/lib/data.c
+++ b/lib/data.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
  * Compression support by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/decompress.c b/lib/decompress.c
index f313e41..359dae7 100644
--- a/lib/decompress.c
+++ b/lib/decompress.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
  * Created by Huang Jianan <huangjianan@oppo.com>
diff --git a/lib/exclude.c b/lib/exclude.c
index 2f980a3..e3c4ed5 100644
--- a/lib/exclude.c
+++ b/lib/exclude.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <bluce.lee@aliyun.com>
  */
diff --git a/lib/inode.c b/lib/inode.c
index 461c797..b6d3092 100644
--- a/lib/inode.c
+++ b/lib/inode.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018-2019 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/io.c b/lib/io.c
index a0d366a..5bc3432 100644
--- a/lib/io.c
+++ b/lib/io.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Copyright (C) 2018 HUAWEI, Inc.
  *             http://www.huawei.com/
diff --git a/lib/namei.c b/lib/namei.c
index 7377e74..4124170 100644
--- a/lib/namei.c
+++ b/lib/namei.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <blucerlee@gmail.com>
  */
diff --git a/lib/super.c b/lib/super.c
index 3ccc551..69522bd 100644
--- a/lib/super.c
+++ b/lib/super.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Created by Li Guifu <blucerlee@gmail.com>
  */
diff --git a/lib/xattr.c b/lib/xattr.c
index 00fb963..02f93f2 100644
--- a/lib/xattr.c
+++ b/lib/xattr.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * Originally contributed by an anonymous person,
  * heavily changed by Li Guifu <blucerlee@gmail.com>
diff --git a/lib/zmap.c b/lib/zmap.c
index 3715c47..09d5d35 100644
--- a/lib/zmap.c
+++ b/lib/zmap.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
 /*
  * (a large amount of code was adapted from Linux kernel. )
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] erofs-utils: add Apache 2.0 license
  2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
@ 2021-12-02 11:12     ` Gao Xiang
  2021-12-02 11:52     ` Guo Xuenan via Linux-erofs
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Gao Xiang @ 2021-12-02 11:12 UTC (permalink / raw)
  To: Huang Jianan; +Cc: linux-erofs

On Thu, Dec 02, 2021 at 10:25:21AM +0800, Huang Jianan wrote:
> Let's release liberofs under GPL-2.0+ OR Apache-2.0 license for
> better integration.
> 
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>

Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com>

Thanks,
Gao Xiang

> ---
>  include/erofs/blobchunk.h      | 2 +-
>  include/erofs/block_list.h     | 2 +-
>  include/erofs/cache.h          | 2 +-
>  include/erofs/compress.h       | 2 +-
>  include/erofs/compress_hints.h | 2 +-
>  include/erofs/config.h         | 2 +-
>  include/erofs/decompress.h     | 2 +-
>  include/erofs/defs.h           | 2 +-
>  include/erofs/err.h            | 2 +-
>  include/erofs/exclude.h        | 2 +-
>  include/erofs/inode.h          | 2 +-
>  include/erofs/internal.h       | 2 +-
>  include/erofs/io.h             | 2 +-
>  include/erofs/list.h           | 2 +-
>  include/erofs/print.h          | 2 +-
>  include/erofs/trace.h          | 2 +-
>  include/erofs/xattr.h          | 2 +-
>  lib/Makefile.am                | 2 +-
>  lib/blobchunk.c                | 2 +-
>  lib/block_list.c               | 2 +-
>  lib/cache.c                    | 2 +-
>  lib/compress.c                 | 2 +-
>  lib/compress_hints.c           | 2 +-
>  lib/compressor.c               | 2 +-
>  lib/compressor.h               | 2 +-
>  lib/compressor_liblzma.c       | 2 +-
>  lib/compressor_lz4.c           | 2 +-
>  lib/compressor_lz4hc.c         | 2 +-
>  lib/config.c                   | 2 +-
>  lib/data.c                     | 2 +-
>  lib/decompress.c               | 2 +-
>  lib/exclude.c                  | 2 +-
>  lib/inode.c                    | 2 +-
>  lib/io.c                       | 2 +-
>  lib/namei.c                    | 2 +-
>  lib/super.c                    | 2 +-
>  lib/xattr.c                    | 2 +-
>  lib/zmap.c                     | 2 +-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] erofs-utils: add Apache 2.0 license
  2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
  2021-12-02 11:12     ` Gao Xiang
@ 2021-12-02 11:52     ` Guo Xuenan via Linux-erofs
  2021-12-02 13:42     ` 胡玮文
  2021-12-02 15:41     ` Li Guifu via Linux-erofs
  3 siblings, 0 replies; 8+ messages in thread
From: Guo Xuenan via Linux-erofs @ 2021-12-02 11:52 UTC (permalink / raw)
  To: linux-erofs

在 2021/12/2 10:25, Huang Jianan via Linux-erofs 写道:
> Let's release liberofs under GPL-2.0+ OR Apache-2.0 license for
> better integration.
>
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>

Acked-by: Guo Xuenan<guoxuenan@huawei.com>

Thanks,

Guo Xuenan

> ---
>   include/erofs/blobchunk.h      | 2 +-
>   include/erofs/block_list.h     | 2 +-
>   include/erofs/cache.h          | 2 +-
>   include/erofs/compress.h       | 2 +-
>   include/erofs/compress_hints.h | 2 +-
>   include/erofs/config.h         | 2 +-
>   include/erofs/decompress.h     | 2 +-
>   include/erofs/defs.h           | 2 +-
>   include/erofs/err.h            | 2 +-
>   include/erofs/exclude.h        | 2 +-
>   include/erofs/inode.h          | 2 +-
>   include/erofs/internal.h       | 2 +-
>   include/erofs/io.h             | 2 +-
>   include/erofs/list.h           | 2 +-
>   include/erofs/print.h          | 2 +-
>   include/erofs/trace.h          | 2 +-
>   include/erofs/xattr.h          | 2 +-
>   lib/Makefile.am                | 2 +-
>   lib/blobchunk.c                | 2 +-
>   lib/block_list.c               | 2 +-
>   lib/cache.c                    | 2 +-
>   lib/compress.c                 | 2 +-
>   lib/compress_hints.c           | 2 +-
>   lib/compressor.c               | 2 +-
>   lib/compressor.h               | 2 +-
>   lib/compressor_liblzma.c       | 2 +-
>   lib/compressor_lz4.c           | 2 +-
>   lib/compressor_lz4hc.c         | 2 +-
>   lib/config.c                   | 2 +-
>   lib/data.c                     | 2 +-
>   lib/decompress.c               | 2 +-
>   lib/exclude.c                  | 2 +-
>   lib/inode.c                    | 2 +-
>   lib/io.c                       | 2 +-
>   lib/namei.c                    | 2 +-
>   lib/super.c                    | 2 +-
>   lib/xattr.c                    | 2 +-
>   lib/zmap.c                     | 2 +-
>   38 files changed, 38 insertions(+), 38 deletions(-)
>
> diff --git a/include/erofs/blobchunk.h b/include/erofs/blobchunk.h
> index 4e1ae79..49cb7bf 100644
> --- a/include/erofs/blobchunk.h
> +++ b/include/erofs/blobchunk.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * erofs-utils/lib/blobchunk.h
>    *
> diff --git a/include/erofs/block_list.h b/include/erofs/block_list.h
> index ca8053e..78fab44 100644
> --- a/include/erofs/block_list.h
> +++ b/include/erofs/block_list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2021, Coolpad Group Limited.
>    * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/include/erofs/cache.h b/include/erofs/cache.h
> index 7957ee5..de12399 100644
> --- a/include/erofs/cache.h
> +++ b/include/erofs/cache.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/compress.h b/include/erofs/compress.h
> index fdbf5ff..21eac57 100644
> --- a/include/erofs/compress.h
> +++ b/include/erofs/compress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/compress_hints.h b/include/erofs/compress_hints.h
> index 43f80e1..659c5b6 100644
> --- a/include/erofs/compress_hints.h
> +++ b/include/erofs/compress_hints.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/config.h b/include/erofs/config.h
> index cb064b6..e41c079 100644
> --- a/include/erofs/config.h
> +++ b/include/erofs/config.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/decompress.h b/include/erofs/decompress.h
> index e649c80..82bf7b8 100644
> --- a/include/erofs/decompress.h
> +++ b/include/erofs/decompress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/defs.h b/include/erofs/defs.h
> index 4db237f..e745bc0 100644
> --- a/include/erofs/defs.h
> +++ b/include/erofs/defs.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/err.h b/include/erofs/err.h
> index 18f152a..08b0bdb 100644
> --- a/include/erofs/err.h
> +++ b/include/erofs/err.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/exclude.h b/include/erofs/exclude.h
> index 599f018..3f17032 100644
> --- a/include/erofs/exclude.h
> +++ b/include/erofs/exclude.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Created by Li Guifu <bluce.lee@aliyun.com>
>    */
> diff --git a/include/erofs/inode.h b/include/erofs/inode.h
> index e23d65f..79b39b0 100644
> --- a/include/erofs/inode.h
> +++ b/include/erofs/inode.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/internal.h b/include/erofs/internal.h
> index a68de32..e6beb8c 100644
> --- a/include/erofs/internal.h
> +++ b/include/erofs/internal.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/io.h b/include/erofs/io.h
> index 6f51e06..0f58c70 100644
> --- a/include/erofs/io.h
> +++ b/include/erofs/io.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/list.h b/include/erofs/list.h
> index fd5358d..2a0e961 100644
> --- a/include/erofs/list.h
> +++ b/include/erofs/list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/print.h b/include/erofs/print.h
> index 2213d1d..f188a6b 100644
> --- a/include/erofs/print.h
> +++ b/include/erofs/print.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/trace.h b/include/erofs/trace.h
> index 893e16c..398e331 100644
> --- a/include/erofs/trace.h
> +++ b/include/erofs/trace.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>    */
> diff --git a/include/erofs/xattr.h b/include/erofs/xattr.h
> index 8e68812..226e984 100644
> --- a/include/erofs/xattr.h
> +++ b/include/erofs/xattr.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Originally contributed by an anonymous person,
>    * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/Makefile.am b/lib/Makefile.am
> index 67ba798..c745e49 100644
> --- a/lib/Makefile.am
> +++ b/lib/Makefile.am
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0+
> +# SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   
>   noinst_LTLIBRARIES = liberofs.la
>   noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \
> diff --git a/lib/blobchunk.c b/lib/blobchunk.c
> index b605b0b..5e9a88a 100644
> --- a/lib/blobchunk.c
> +++ b/lib/blobchunk.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * erofs-utils/lib/blobchunk.c
>    *
> diff --git a/lib/block_list.c b/lib/block_list.c
> index 87609a9..896fb01 100644
> --- a/lib/block_list.c
> +++ b/lib/block_list.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2021, Coolpad Group Limited.
>    * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/lib/cache.c b/lib/cache.c
> index 83d591f..f820c0b 100644
> --- a/lib/cache.c
> +++ b/lib/cache.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compress.c b/lib/compress.c
> index 98be7a2..6f16e0c 100644
> --- a/lib/compress.c
> +++ b/lib/compress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compress_hints.c b/lib/compress_hints.c
> index 81a8ac9..25adf35 100644
> --- a/lib/compress_hints.c
> +++ b/lib/compress_hints.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/compressor.c b/lib/compressor.c
> index 6362825..a4d696e 100644
> --- a/lib/compressor.c
> +++ b/lib/compressor.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor.h b/lib/compressor.h
> index 1ea2724..fd28dfe 100644
> --- a/lib/compressor.h
> +++ b/lib/compressor.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor_liblzma.c b/lib/compressor_liblzma.c
> index 578ba06..42f3ac6 100644
> --- a/lib/compressor_liblzma.c
> +++ b/lib/compressor_liblzma.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * erofs-utils/lib/compressor_liblzma.c
>    *
> diff --git a/lib/compressor_lz4.c b/lib/compressor_lz4.c
> index fc8c23c..0936d03 100644
> --- a/lib/compressor_lz4.c
> +++ b/lib/compressor_lz4.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor_lz4hc.c b/lib/compressor_lz4hc.c
> index 3f68b00..8f2d25c 100644
> --- a/lib/compressor_lz4hc.c
> +++ b/lib/compressor_lz4hc.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/config.c b/lib/config.c
> index f1c8edf..d3298da 100644
> --- a/lib/config.c
> +++ b/lib/config.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/data.c b/lib/data.c
> index 27710f9..e57707e 100644
> --- a/lib/data.c
> +++ b/lib/data.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>    * Compression support by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/decompress.c b/lib/decompress.c
> index f313e41..359dae7 100644
> --- a/lib/decompress.c
> +++ b/lib/decompress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/exclude.c b/lib/exclude.c
> index 2f980a3..e3c4ed5 100644
> --- a/lib/exclude.c
> +++ b/lib/exclude.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <bluce.lee@aliyun.com>
>    */
> diff --git a/lib/inode.c b/lib/inode.c
> index 461c797..b6d3092 100644
> --- a/lib/inode.c
> +++ b/lib/inode.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/io.c b/lib/io.c
> index a0d366a..5bc3432 100644
> --- a/lib/io.c
> +++ b/lib/io.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/namei.c b/lib/namei.c
> index 7377e74..4124170 100644
> --- a/lib/namei.c
> +++ b/lib/namei.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <blucerlee@gmail.com>
>    */
> diff --git a/lib/super.c b/lib/super.c
> index 3ccc551..69522bd 100644
> --- a/lib/super.c
> +++ b/lib/super.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <blucerlee@gmail.com>
>    */
> diff --git a/lib/xattr.c b/lib/xattr.c
> index 00fb963..02f93f2 100644
> --- a/lib/xattr.c
> +++ b/lib/xattr.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Originally contributed by an anonymous person,
>    * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/zmap.c b/lib/zmap.c
> index 3715c47..09d5d35 100644
> --- a/lib/zmap.c
> +++ b/lib/zmap.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * (a large amount of code was adapted from Linux kernel. )
>    *

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] erofs-utils: add Apache 2.0 license
  2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
  2021-12-02 11:12     ` Gao Xiang
  2021-12-02 11:52     ` Guo Xuenan via Linux-erofs
@ 2021-12-02 13:42     ` 胡玮文
  2021-12-02 15:41     ` Li Guifu via Linux-erofs
  3 siblings, 0 replies; 8+ messages in thread
From: 胡玮文 @ 2021-12-02 13:42 UTC (permalink / raw)
  To: Huang Jianan; +Cc: hsiangkao, linux-erofs

On Thu, Dec 02, 2021 at 10:25:21AM +0800, Huang Jianan via Linux-erofs wrote:
> Let's release liberofs under GPL-2.0+ OR Apache-2.0 license for
> better integration.
> 
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>

Acked-by: Hu Weiwen <sehuww@mail.scut.edu.cn>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] erofs-utils: add Apache 2.0 license
  2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
                       ` (2 preceding siblings ...)
  2021-12-02 13:42     ` 胡玮文
@ 2021-12-02 15:41     ` Li Guifu via Linux-erofs
  3 siblings, 0 replies; 8+ messages in thread
From: Li Guifu via Linux-erofs @ 2021-12-02 15:41 UTC (permalink / raw)
  To: Huang Jianan, linux-erofs, hsiangkao

> Let's release liberofs under GPL-2.0+ OR Apache-2.0 license for
> better integration.
> 
> Signed-off-by: Huang Jianan <huangjianan@oppo.com>

Acked-by: Li Guifu <bluce.lee@aliyun.com>

Thanks,
Li Guifu

> ---
>   include/erofs/blobchunk.h      | 2 +-
>   include/erofs/block_list.h     | 2 +-
>   include/erofs/cache.h          | 2 +-
>   include/erofs/compress.h       | 2 +-
>   include/erofs/compress_hints.h | 2 +-
>   include/erofs/config.h         | 2 +-
>   include/erofs/decompress.h     | 2 +-
>   include/erofs/defs.h           | 2 +-
>   include/erofs/err.h            | 2 +-
>   include/erofs/exclude.h        | 2 +-
>   include/erofs/inode.h          | 2 +-
>   include/erofs/internal.h       | 2 +-
>   include/erofs/io.h             | 2 +-
>   include/erofs/list.h           | 2 +-
>   include/erofs/print.h          | 2 +-
>   include/erofs/trace.h          | 2 +-
>   include/erofs/xattr.h          | 2 +-
>   lib/Makefile.am                | 2 +-
>   lib/blobchunk.c                | 2 +-
>   lib/block_list.c               | 2 +-
>   lib/cache.c                    | 2 +-
>   lib/compress.c                 | 2 +-
>   lib/compress_hints.c           | 2 +-
>   lib/compressor.c               | 2 +-
>   lib/compressor.h               | 2 +-
>   lib/compressor_liblzma.c       | 2 +-
>   lib/compressor_lz4.c           | 2 +-
>   lib/compressor_lz4hc.c         | 2 +-
>   lib/config.c                   | 2 +-
>   lib/data.c                     | 2 +-
>   lib/decompress.c               | 2 +-
>   lib/exclude.c                  | 2 +-
>   lib/inode.c                    | 2 +-
>   lib/io.c                       | 2 +-
>   lib/namei.c                    | 2 +-
>   lib/super.c                    | 2 +-
>   lib/xattr.c                    | 2 +-
>   lib/zmap.c                     | 2 +-
>   38 files changed, 38 insertions(+), 38 deletions(-)
> 
> diff --git a/include/erofs/blobchunk.h b/include/erofs/blobchunk.h
> index 4e1ae79..49cb7bf 100644
> --- a/include/erofs/blobchunk.h
> +++ b/include/erofs/blobchunk.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * erofs-utils/lib/blobchunk.h
>    *
> diff --git a/include/erofs/block_list.h b/include/erofs/block_list.h
> index ca8053e..78fab44 100644
> --- a/include/erofs/block_list.h
> +++ b/include/erofs/block_list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2021, Coolpad Group Limited.
>    * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/include/erofs/cache.h b/include/erofs/cache.h
> index 7957ee5..de12399 100644
> --- a/include/erofs/cache.h
> +++ b/include/erofs/cache.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/compress.h b/include/erofs/compress.h
> index fdbf5ff..21eac57 100644
> --- a/include/erofs/compress.h
> +++ b/include/erofs/compress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/compress_hints.h b/include/erofs/compress_hints.h
> index 43f80e1..659c5b6 100644
> --- a/include/erofs/compress_hints.h
> +++ b/include/erofs/compress_hints.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/config.h b/include/erofs/config.h
> index cb064b6..e41c079 100644
> --- a/include/erofs/config.h
> +++ b/include/erofs/config.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/decompress.h b/include/erofs/decompress.h
> index e649c80..82bf7b8 100644
> --- a/include/erofs/decompress.h
> +++ b/include/erofs/decompress.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/include/erofs/defs.h b/include/erofs/defs.h
> index 4db237f..e745bc0 100644
> --- a/include/erofs/defs.h
> +++ b/include/erofs/defs.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/err.h b/include/erofs/err.h
> index 18f152a..08b0bdb 100644
> --- a/include/erofs/err.h
> +++ b/include/erofs/err.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/exclude.h b/include/erofs/exclude.h
> index 599f018..3f17032 100644
> --- a/include/erofs/exclude.h
> +++ b/include/erofs/exclude.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Created by Li Guifu <bluce.lee@aliyun.com>
>    */
> diff --git a/include/erofs/inode.h b/include/erofs/inode.h
> index e23d65f..79b39b0 100644
> --- a/include/erofs/inode.h
> +++ b/include/erofs/inode.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/internal.h b/include/erofs/internal.h
> index a68de32..e6beb8c 100644
> --- a/include/erofs/internal.h
> +++ b/include/erofs/internal.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/io.h b/include/erofs/io.h
> index 6f51e06..0f58c70 100644
> --- a/include/erofs/io.h
> +++ b/include/erofs/io.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/list.h b/include/erofs/list.h
> index fd5358d..2a0e961 100644
> --- a/include/erofs/list.h
> +++ b/include/erofs/list.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/print.h b/include/erofs/print.h
> index 2213d1d..f188a6b 100644
> --- a/include/erofs/print.h
> +++ b/include/erofs/print.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/include/erofs/trace.h b/include/erofs/trace.h
> index 893e16c..398e331 100644
> --- a/include/erofs/trace.h
> +++ b/include/erofs/trace.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>    */
> diff --git a/include/erofs/xattr.h b/include/erofs/xattr.h
> index 8e68812..226e984 100644
> --- a/include/erofs/xattr.h
> +++ b/include/erofs/xattr.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Originally contributed by an anonymous person,
>    * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/Makefile.am b/lib/Makefile.am
> index 67ba798..c745e49 100644
> --- a/lib/Makefile.am
> +++ b/lib/Makefile.am
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0+
> +# SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   
>   noinst_LTLIBRARIES = liberofs.la
>   noinst_HEADERS = $(top_srcdir)/include/erofs_fs.h \
> diff --git a/lib/blobchunk.c b/lib/blobchunk.c
> index b605b0b..5e9a88a 100644
> --- a/lib/blobchunk.c
> +++ b/lib/blobchunk.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * erofs-utils/lib/blobchunk.c
>    *
> diff --git a/lib/block_list.c b/lib/block_list.c
> index 87609a9..896fb01 100644
> --- a/lib/block_list.c
> +++ b/lib/block_list.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2021, Coolpad Group Limited.
>    * Created by Yue Hu <huyue2@yulong.com>
> diff --git a/lib/cache.c b/lib/cache.c
> index 83d591f..f820c0b 100644
> --- a/lib/cache.c
> +++ b/lib/cache.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compress.c b/lib/compress.c
> index 98be7a2..6f16e0c 100644
> --- a/lib/compress.c
> +++ b/lib/compress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compress_hints.c b/lib/compress_hints.c
> index 81a8ac9..25adf35 100644
> --- a/lib/compress_hints.c
> +++ b/lib/compress_hints.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/compressor.c b/lib/compressor.c
> index 6362825..a4d696e 100644
> --- a/lib/compressor.c
> +++ b/lib/compressor.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor.h b/lib/compressor.h
> index 1ea2724..fd28dfe 100644
> --- a/lib/compressor.h
> +++ b/lib/compressor.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor_liblzma.c b/lib/compressor_liblzma.c
> index 578ba06..42f3ac6 100644
> --- a/lib/compressor_liblzma.c
> +++ b/lib/compressor_liblzma.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * erofs-utils/lib/compressor_liblzma.c
>    *
> diff --git a/lib/compressor_lz4.c b/lib/compressor_lz4.c
> index fc8c23c..0936d03 100644
> --- a/lib/compressor_lz4.c
> +++ b/lib/compressor_lz4.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/compressor_lz4hc.c b/lib/compressor_lz4hc.c
> index 3f68b00..8f2d25c 100644
> --- a/lib/compressor_lz4hc.c
> +++ b/lib/compressor_lz4hc.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/config.c b/lib/config.c
> index f1c8edf..d3298da 100644
> --- a/lib/config.c
> +++ b/lib/config.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/data.c b/lib/data.c
> index 27710f9..e57707e 100644
> --- a/lib/data.c
> +++ b/lib/data.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2020 Gao Xiang <hsiangkao@aol.com>
>    * Compression support by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/decompress.c b/lib/decompress.c
> index f313e41..359dae7 100644
> --- a/lib/decompress.c
> +++ b/lib/decompress.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C), 2008-2020, OPPO Mobile Comm Corp., Ltd.
>    * Created by Huang Jianan <huangjianan@oppo.com>
> diff --git a/lib/exclude.c b/lib/exclude.c
> index 2f980a3..e3c4ed5 100644
> --- a/lib/exclude.c
> +++ b/lib/exclude.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <bluce.lee@aliyun.com>
>    */
> diff --git a/lib/inode.c b/lib/inode.c
> index 461c797..b6d3092 100644
> --- a/lib/inode.c
> +++ b/lib/inode.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018-2019 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/io.c b/lib/io.c
> index a0d366a..5bc3432 100644
> --- a/lib/io.c
> +++ b/lib/io.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Copyright (C) 2018 HUAWEI, Inc.
>    *             http://www.huawei.com/
> diff --git a/lib/namei.c b/lib/namei.c
> index 7377e74..4124170 100644
> --- a/lib/namei.c
> +++ b/lib/namei.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <blucerlee@gmail.com>
>    */
> diff --git a/lib/super.c b/lib/super.c
> index 3ccc551..69522bd 100644
> --- a/lib/super.c
> +++ b/lib/super.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Created by Li Guifu <blucerlee@gmail.com>
>    */
> diff --git a/lib/xattr.c b/lib/xattr.c
> index 00fb963..02f93f2 100644
> --- a/lib/xattr.c
> +++ b/lib/xattr.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * Originally contributed by an anonymous person,
>    * heavily changed by Li Guifu <blucerlee@gmail.com>
> diff --git a/lib/zmap.c b/lib/zmap.c
> index 3715c47..09d5d35 100644
> --- a/lib/zmap.c
> +++ b/lib/zmap.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0
>   /*
>    * (a large amount of code was adapted from Linux kernel. )
>    *
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-12-02 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 15:59 [PATCH] erofs-utils: add Apache 2.0 license Huang Jianan
2021-12-01 17:03 ` Gao Xiang
2021-12-02  2:25   ` [PATCH v2] " Huang Jianan via Linux-erofs
2021-12-02 11:12     ` Gao Xiang
2021-12-02 11:52     ` Guo Xuenan via Linux-erofs
2021-12-02 13:42     ` 胡玮文
2021-12-02 15:41     ` Li Guifu via Linux-erofs
2021-12-02  2:21 ` [PATCH] " Yue Hu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.