[PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 3 04:05:33 PST 2022


The files refer to the (Linux) top-level LICENSE file. Replace that with
GPL-2.0-only.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 fs/jffs2/acl.h         | 4 +---
 fs/jffs2/build.c       | 4 +---
 fs/jffs2/compr.c       | 4 +---
 fs/jffs2/compr.h       | 4 +---
 fs/jffs2/compr_lzo.c   | 4 +---
 fs/jffs2/compr_rtime.c | 5 +----
 fs/jffs2/compr_rubin.c | 4 +---
 fs/jffs2/compr_zlib.c  | 4 +---
 fs/jffs2/debug.c       | 4 +---
 fs/jffs2/debug.h       | 5 ++---
 fs/jffs2/dir.c         | 4 +---
 fs/jffs2/fs.c          | 4 +---
 fs/jffs2/jffs2_fs_i.h  | 5 ++---
 fs/jffs2/jffs2_fs_sb.h | 5 ++---
 fs/jffs2/malloc.c      | 4 +---
 fs/jffs2/nodelist.c    | 4 +---
 fs/jffs2/nodelist.h    | 4 +---
 fs/jffs2/os-linux.h    | 5 ++---
 fs/jffs2/read.c        | 4 +---
 fs/jffs2/readinode.c   | 4 +---
 fs/jffs2/scan.c        | 4 +---
 fs/jffs2/summary.h     | 4 +---
 fs/jffs2/super.c       | 5 ++---
 fs/jffs2/xattr.h       | 4 +---
 24 files changed, 29 insertions(+), 73 deletions(-)

diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h
index 12d0271bdde3..2e1794f5aee4 100644
--- a/fs/jffs2/acl.h
+++ b/fs/jffs2/acl.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai at ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 struct jffs2_acl_entry {
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c
index f3fc0ade207c..d5757d100bf5 100644
--- a/fs/jffs2/build.c
+++ b/fs/jffs2/build.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index 1c5a7d9137e2..04b014199fde 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -7,9 +8,6 @@
  *		    University of Szeged, Hungary
  *
  * Created by Arjan van de Ven <arjan at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index 2e3c368acee5..20267beeca8e 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2004   Ferenc Havasi <havasi at inf.u-szeged.hu>,
  *		      University of Szeged, Hungary
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_COMPR_H__
diff --git a/fs/jffs2/compr_lzo.c b/fs/jffs2/compr_lzo.c
index 1be30dc60443..643b83fa7474 100644
--- a/fs/jffs2/compr_lzo.c
+++ b/fs/jffs2/compr_lzo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by Richard Purdie <rpurdie at openedhand.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #include <common.h>
diff --git a/fs/jffs2/compr_rtime.c b/fs/jffs2/compr_rtime.c
index d74d7d3d794a..f8bc4ab1142e 100644
--- a/fs/jffs2/compr_rtime.c
+++ b/fs/jffs2/compr_rtime.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -6,10 +7,6 @@
  *
  * Created by Arjan van de Ven <arjanv at redhat.com>
  *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
- *
- *
  * Very simple lz77-ish encoder.
  *
  * Theory of operation: Both encoder and decoder have a list of "last
diff --git a/fs/jffs2/compr_rubin.c b/fs/jffs2/compr_rubin.c
index 3e4faa739a3e..91a500f4fb29 100644
--- a/fs/jffs2/compr_rubin.c
+++ b/fs/jffs2/compr_rubin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by Arjan van de Ven <arjanv at redhat.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 222e0d6e5fcf..2b7914f1f5d2 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 536a1786c163..edf853976223 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h
index 97733ecca72f..d40569e6fed9 100644
--- a/fs/jffs2/debug.h
+++ b/fs/jffs2/debug.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_DEBUG_H_
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 4d28d2b5531c..34f8d141f289 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index a267ec0669cc..f3f472d6876c 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index 2d4b03040fad..5d420a926dd0 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_I
diff --git a/fs/jffs2/jffs2_fs_sb.h b/fs/jffs2/jffs2_fs_sb.h
index 84d118c2e9de..20fa9a26a4ff 100644
--- a/fs/jffs2/jffs2_fs_sb.h
+++ b/fs/jffs2/jffs2_fs_sb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2 at infradead.org>
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_SB
diff --git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c
index 7e3e0797b3b8..202191be944a 100644
--- a/fs/jffs2/malloc.c
+++ b/fs/jffs2/malloc.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.c b/fs/jffs2/nodelist.c
index 446407e1380e..94753e1995cb 100644
--- a/fs/jffs2/nodelist.c
+++ b/fs/jffs2/nodelist.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 26afb7ccd789..b5f7716ce2d0 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_NODELIST_H__
diff --git a/fs/jffs2/os-linux.h b/fs/jffs2/os-linux.h
index b86a55e482bc..3f6af905829d 100644
--- a/fs/jffs2/os-linux.h
+++ b/fs/jffs2/os-linux.h
@@ -1,12 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_OS_LINUX_H__
diff --git a/fs/jffs2/read.c b/fs/jffs2/read.c
index 2848e4d1d86d..a1c3b9d47bb4 100644
--- a/fs/jffs2/read.c
+++ b/fs/jffs2/read.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 0fe67cbb6b30..aaf26196135b 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
index 64a5e02c216c..0d74a8f51f97 100644
--- a/fs/jffs2/scan.c
+++ b/fs/jffs2/scan.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/summary.h b/fs/jffs2/summary.h
index a4b4747825e5..87a782f11ec3 100644
--- a/fs/jffs2/summary.h
+++ b/fs/jffs2/summary.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  *		     Zoltan Sogor <weth at inf.u-szeged.hu>,
  *		     Patrik Kluba <pajko at halom.u-szeged.hu>,
  *		     University of Szeged, Hungary
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef JFFS2_SUMMARY_H
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index d9bb6d0bff9c..6001be8e1038 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -1,12 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2 at infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/xattr.h b/fs/jffs2/xattr.h
index dced8737669e..e348190bd3d1 100644
--- a/fs/jffs2/xattr.h
+++ b/fs/jffs2/xattr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai at ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_XATTR_H_
-- 
2.30.2




More information about the barebox mailing list