forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix up remaining files with SPDX cleanups
A number of ext4 source files were skipped due because their copyright permission statements didn't match the expected text used by the automated conversion utilities. I've added SPDX tags for the rest. While looking at some of these files, I've noticed that we have quite a bit of variation on the licenses that were used --- in particular some of the Red Hat licenses on the jbd2 files use a GPL2+ license, and we have some files that have a LGPL-2.1 license (which was quite surprising). I've not attempted to do any license changes. Even if it is perfectly legal to relicense to GPL 2.0-only for consistency's sake, that should be done with ext4 developer community discussion. Signed-off-by: Theodore Ts'o <[email protected]>
- Loading branch information
Showing
23 changed files
with
23 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
File: fs/ext4/acl.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* ext4.h | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (c) 2003-2006, Cluster File Systems, Inc, [email protected] | ||
* Written by Alex Tomas <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111- | ||
*/ | ||
|
||
#ifndef _EXT4_EXTENTS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* ext4_jbd2.h | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1999 | ||
* | ||
* Copyright 1998--1999 Red Hat corp --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Ext4-specific journaling extensions. | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (c) 2003-2006, Cluster File Systems, Inc, [email protected] | ||
* Written by Alex Tomas <[email protected]> | ||
* | ||
* Architecture independence: | ||
* Copyright (c) 2005, Bull S.A. | ||
* Written by Pierre Peiffer <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111- | ||
*/ | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* fs/ext4/extents_status.h | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* Copyright (C) 2017 Oracle. All Rights Reserved. | ||
* | ||
* Author: Darrick J. Wong <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it would be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | ||
*/ | ||
#include "ext4.h" | ||
#include <linux/fsmap.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* Copyright (C) 2017 Oracle. All Rights Reserved. | ||
* | ||
* Author: Darrick J. Wong <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it would be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | ||
*/ | ||
#ifndef __EXT4_FSMAP_H__ | ||
#define __EXT4_FSMAP_H__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
// SPDX-License-Identifier: LGPL-2.1 | ||
/* | ||
* Copyright (c) 2012 Taobao. | ||
* Written by Tao Ma <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2.1 of the GNU Lesser General Public License | ||
* as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
|
||
#include <linux/iomap.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (c) 2003-2006, Cluster File Systems, Inc, [email protected] | ||
* Written by Alex Tomas <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111- | ||
*/ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* fs/ext4/mballoc.h | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
// SPDX-License-Identifier: LGPL-2.1 | ||
/* | ||
* Copyright IBM Corporation, 2007 | ||
* Author Aneesh Kumar K.V <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2.1 of the GNU Lesser General Public License | ||
* as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it would be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
* | ||
*/ | ||
|
||
#include <linux/slab.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
// SPDX-License-Identifier: LGPL-2.1 | ||
/* | ||
* Copyright (c) 2008,2009 NEC Software Tohoku, Ltd. | ||
* Written by Takashi Sato <[email protected]> | ||
* Akira Fujita <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2.1 of the GNU Lesser General Public License | ||
* as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
*/ | ||
|
||
#include <linux/fs.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* linux/fs/ext4/super.c | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* linux/fs/ext4/truncate.h | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
File: fs/ext4/xattr.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/checkpoint.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1999 | ||
* | ||
* Copyright 1999 Red Hat Software --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Checkpoint routines for the generic filesystem journaling code. | ||
* Part of the ext2fs journaling system. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/commit.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1998 | ||
* | ||
* Copyright 1998 Red Hat corp --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Journal commit routines for the generic filesystem journaling code; | ||
* part of the ext2fs journaling system. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/journal.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1998 | ||
* | ||
* Copyright 1998 Red Hat corp --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Generic filesystem journal-writing code; part of the ext2fs | ||
* journaling system. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/recovery.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1999 | ||
* | ||
* Copyright 1999-2000 Red Hat Software --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Journal recovery routines for the generic filesystem journaling code; | ||
* part of the ext2fs journaling system. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/revoke.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 2000 | ||
* | ||
* Copyright 2000 Red Hat corp --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Journal revoke routines for the generic filesystem journaling code; | ||
* part of the ext2fs journaling system. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* linux/fs/jbd2/transaction.c | ||
* | ||
* Written by Stephen C. Tweedie <[email protected]>, 1998 | ||
* | ||
* Copyright 1998 Red Hat corp --- All Rights Reserved | ||
* | ||
* This file is part of the Linux kernel and is made available under | ||
* the terms of the GNU General Public License, version 2, or at your | ||
* option, any later version, incorporated herein by reference. | ||
* | ||
* Generic filesystem transaction handling code; part of the ext2fs | ||
* journaling system. | ||
* | ||
|