Skip to content

Commit c1d7c51

Browse files
committed
btrfs: replace GPL boilerplate by SPDX -- sources
Remove GPL boilerplate text (long, short, one-line) and keep the rest, ie. personal, company or original source copyright statements. Add the SPDX header. Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 9888c34 commit c1d7c51

Some content is hidden

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

58 files changed

+65
-750
lines changed

fs/btrfs/acl.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Red Hat. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/fs.h>

fs/btrfs/async-thread.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
34
* Copyright (C) 2014 Fujitsu. All rights reserved.
4-
*
5-
* This program is free software; you can redistribute it and/or
6-
* modify it under the terms of the GNU General Public
7-
* License v2 as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12-
* General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public
15-
* License along with this program; if not, write to the
16-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17-
* Boston, MA 021110-1307, USA.
185
*/
196

207
#include <linux/kthread.h>

fs/btrfs/backref.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2011 STRATO. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/mm.h>

fs/btrfs/check-integrity.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) STRATO AG 2011. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
/*

fs/btrfs/compression.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2008 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/kernel.h>

fs/btrfs/ctree.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007,2008 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/sched.h>

fs/btrfs/delayed-inode.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2011 Fujitsu. All rights reserved.
34
* Written by Miao Xie <miaox@cn.fujitsu.com>
4-
*
5-
* This program is free software; you can redistribute it and/or
6-
* modify it under the terms of the GNU General Public
7-
* License v2 as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12-
* General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public
15-
* License along with this program; if not, write to the
16-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17-
* Boston, MA 021110-1307, USA.
185
*/
196

207
#include <linux/slab.h>

fs/btrfs/delayed-ref.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2009 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/sched.h>

fs/btrfs/dev-replace.c

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) STRATO AG 2012. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
5+
186
#include <linux/sched.h>
197
#include <linux/bio.h>
208
#include <linux/slab.h>

fs/btrfs/dir-item.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include "ctree.h"

fs/btrfs/disk-io.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/fs.h>

fs/btrfs/export.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2+
23
#include <linux/fs.h>
34
#include <linux/types.h>
45
#include "ctree.h"

fs/btrfs/extent-tree.c

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
5+
186
#include <linux/sched.h>
197
#include <linux/sched/signal.h>
208
#include <linux/pagemap.h>

fs/btrfs/extent_io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2+
23
#include <linux/bitops.h>
34
#include <linux/slab.h>
45
#include <linux/bio.h>

fs/btrfs/extent_map.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2+
23
#include <linux/err.h>
34
#include <linux/slab.h>
45
#include <linux/spinlock.h>

fs/btrfs/file-item.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/bio.h>

fs/btrfs/file.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/fs.h>

fs/btrfs/free-space-cache.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2008 Red Hat. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/pagemap.h>

fs/btrfs/free-space-tree.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2015 Facebook. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include <linux/kernel.h>

fs/btrfs/inode-item.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 2007 Oracle. All rights reserved.
3-
*
4-
* This program is free software; you can redistribute it and/or
5-
* modify it under the terms of the GNU General Public
6-
* License v2 as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11-
* General Public License for more details.
12-
*
13-
* You should have received a copy of the GNU General Public
14-
* License along with this program; if not, write to the
15-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16-
* Boston, MA 021110-1307, USA.
174
*/
185

196
#include "ctree.h"

0 commit comments

Comments
 (0)