Skip to content

Commit 328970d

Browse files
KAGA-KOKOgregkh
authored andcommitted
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145
Based on 1 normalized pattern(s): 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 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 021110 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 84 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190524100844.756442981@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2b4f735 commit 328970d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+84
-1282
lines changed

fs/configfs/configfs_internal.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/* -*- mode: c; c-basic-offset:8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* configfs_internal.h - Internal stuff for configfs
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/configfs/dir.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* dir.c - Operations for configfs directories.
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/configfs/file.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* file.c - operations for regular (text) files.
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/configfs/inode.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* inode.c - basic inode and dentry operations.
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/configfs/item.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* item.c - library routines for handling generic config items
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on kobject:
228
* kobject is Copyright (c) 2002-2003 Patrick Mochel
239
*

fs/configfs/mount.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* mount.c - operations for initializing and mounting configfs.
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/configfs/symlink.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* symlink.c - operations for configfs symlinks.
56
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
20-
*
217
* Based on sysfs:
228
* sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
239
*

fs/ocfs2/alloc.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
@@ -6,21 +7,6 @@
67
* Extent allocs and frees
78
*
89
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
9-
*
10-
* This program is free software; you can redistribute it and/or
11-
* modify it under the terms of the GNU General Public
12-
* License as published by the Free Software Foundation; either
13-
* version 2 of the License, or (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public
21-
* License along with this program; if not, write to the
22-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23-
* Boston, MA 021110-1307, USA.
2410
*/
2511

2612
#include <linux/fs.h>

fs/ocfs2/alloc.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
@@ -6,21 +7,6 @@
67
* Function prototypes
78
*
89
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
9-
*
10-
* This program is free software; you can redistribute it and/or
11-
* modify it under the terms of the GNU General Public
12-
* License as published by the Free Software Foundation; either
13-
* version 2 of the License, or (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public
21-
* License along with this program; if not, write to the
22-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23-
* Boston, MA 021110-1307, USA.
2410
*/
2511

2612
#ifndef OCFS2_ALLOC_H

fs/ocfs2/aops.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
5-
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
206
*/
217

228
#include <linux/fs.h>

fs/ocfs2/aops.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* Copyright (C) 2002, 2004, 2005 Oracle. All rights reserved.
5-
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
206
*/
217

228
#ifndef OCFS2_AOPS_H

fs/ocfs2/buffer_head_io.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
@@ -6,21 +7,6 @@
67
* Buffer cache handling
78
*
89
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
9-
*
10-
* This program is free software; you can redistribute it and/or
11-
* modify it under the terms of the GNU General Public
12-
* License as published by the Free Software Foundation; either
13-
* version 2 of the License, or (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public
21-
* License along with this program; if not, write to the
22-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23-
* Boston, MA 021110-1307, USA.
2410
*/
2511

2612
#include <linux/fs.h>

fs/ocfs2/buffer_head_io.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
@@ -6,21 +7,6 @@
67
* Buffer cache handling functions defined
78
*
89
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
9-
*
10-
* This program is free software; you can redistribute it and/or
11-
* modify it under the terms of the GNU General Public
12-
* License as published by the Free Software Foundation; either
13-
* version 2 of the License, or (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public
21-
* License along with this program; if not, write to the
22-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23-
* Boston, MA 021110-1307, USA.
2410
*/
2511

2612
#ifndef OCFS2_BUFFER_HEAD_IO_H

fs/ocfs2/cluster/heartbeat.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
45
* Copyright (C) 2004, 2005 Oracle. All rights reserved.
5-
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public
17-
* License along with this program; if not, write to the
18-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19-
* Boston, MA 021110-1307, USA.
206
*/
217

228
#include <linux/kernel.h>

fs/ocfs2/cluster/heartbeat.h

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/* -*- mode: c; c-basic-offset: 8; -*-
23
* vim: noexpandtab sw=8 ts=8 sts=0:
34
*
@@ -6,22 +7,6 @@
67
* Function prototypes
78
*
89
* Copyright (C) 2004 Oracle. All rights reserved.
9-
*
10-
* This program is free software; you can redistribute it and/or
11-
* modify it under the terms of the GNU General Public
12-
* License as published by the Free Software Foundation; either
13-
* version 2 of the License, or (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public
21-
* License along with this program; if not, write to the
22-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23-
* Boston, MA 021110-1307, USA.
24-
*
2510
*/
2611

2712
#ifndef O2CLUSTER_HEARTBEAT_H

0 commit comments

Comments
 (0)