diff options
Diffstat (limited to 'fs')
325 files changed, 458 insertions, 1376 deletions
diff --git a/fs/9p/Kconfig b/fs/9p/Kconfig index 11045d8e356a..ac2ec4543fe1 100644 --- a/fs/9p/Kconfig +++ b/fs/9p/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config 9P_FS | 2 | config 9P_FS |
| 2 | tristate "Plan 9 Resource Sharing Support (9P2000)" | 3 | tristate "Plan 9 Resource Sharing Support (9P2000)" |
| 3 | depends on INET && NET_9P | 4 | depends on INET && NET_9P |
diff --git a/fs/Kconfig b/fs/Kconfig index cbbffc8b9ef5..f1046cf6ad85 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # File system configuration | 3 | # File system configuration |
| 3 | # | 4 | # |
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt index b795f8da81f3..f87ddd1b6d72 100644 --- a/fs/Kconfig.binfmt +++ b/fs/Kconfig.binfmt | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | menu "Executable file formats" | 3 | menu "Executable file formats" |
| 3 | 4 | ||
diff --git a/fs/adfs/Kconfig b/fs/adfs/Kconfig index c5a7787dd5e9..df4650dccf68 100644 --- a/fs/adfs/Kconfig +++ b/fs/adfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ADFS_FS | 2 | config ADFS_FS |
| 2 | tristate "ADFS file system support" | 3 | tristate "ADFS file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/adfs/Makefile b/fs/adfs/Makefile index 9b2d71a9a35c..cf7de6ece659 100644 --- a/fs/adfs/Makefile +++ b/fs/adfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux adfs filesystem routines. | 3 | # Makefile for the linux adfs filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/affs/Kconfig b/fs/affs/Kconfig index a04d9e848d05..84c46b9025c5 100644 --- a/fs/affs/Kconfig +++ b/fs/affs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config AFFS_FS | 2 | config AFFS_FS |
| 2 | tristate "Amiga FFS file system support" | 3 | tristate "Amiga FFS file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/affs/Makefile b/fs/affs/Makefile index 3988b4a78339..f2c811429a4e 100644 --- a/fs/affs/Makefile +++ b/fs/affs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux affs filesystem routines. | 3 | # Makefile for the Linux affs filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/affs/super.c b/fs/affs/super.c index 7370228eefb2..e7d036efbaa1 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/affs/inode.c | 3 | * linux/fs/affs/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/afs/Kconfig b/fs/afs/Kconfig index 701aaa9b1899..3fb1f559e317 100644 --- a/fs/afs/Kconfig +++ b/fs/afs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config AFS_FS | 2 | config AFS_FS |
| 2 | tristate "Andrew File System support (AFS)" | 3 | tristate "Andrew File System support (AFS)" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/afs/addr_list.c b/fs/afs/addr_list.c index 9eaff55df7b4..86da532c192f 100644 --- a/fs/afs/addr_list.c +++ b/fs/afs/addr_list.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Server address list management | 2 | /* Server address list management |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/fs/afs/dir_edit.c b/fs/afs/dir_edit.c index 8b400f5aead5..d4fbe5f85f1b 100644 --- a/fs/afs/dir_edit.c +++ b/fs/afs/dir_edit.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* AFS filesystem directory editing | 2 | /* AFS filesystem directory editing |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/fs/afs/dir_silly.c b/fs/afs/dir_silly.c index 28f4aa015229..057b8d322422 100644 --- a/fs/afs/dir_silly.c +++ b/fs/afs/dir_silly.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* AFS silly rename handling | 2 | /* AFS silly rename handling |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * - Derived from NFS's sillyrename. | 6 | * - Derived from NFS's sillyrename. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public Licence | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the Licence, or (at your option) any later version. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c index af1689d1f32e..9b3b2f1f1fc0 100644 --- a/fs/afs/dynroot.c +++ b/fs/afs/dynroot.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* AFS dynamic root handling | 2 | /* AFS dynamic root handling |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/fs.h> | 8 | #include <linux/fs.h> |
diff --git a/fs/afs/fs_probe.c b/fs/afs/fs_probe.c index 9b7266209343..cfe62b154f68 100644 --- a/fs/afs/fs_probe.c +++ b/fs/afs/fs_probe.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* AFS fileserver probing | 2 | /* AFS fileserver probing |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
diff --git a/fs/afs/protocol_yfs.h b/fs/afs/protocol_yfs.h index 915b9d10cdf3..32be9c698348 100644 --- a/fs/afs/protocol_yfs.h +++ b/fs/afs/protocol_yfs.h | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* YFS protocol bits | 2 | /* YFS protocol bits |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #define YFS_FS_SERVICE 2500 | 8 | #define YFS_FS_SERVICE 2500 |
diff --git a/fs/afs/rotate.c b/fs/afs/rotate.c index b00c739e0e63..172ba569cd60 100644 --- a/fs/afs/rotate.c +++ b/fs/afs/rotate.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Handle fileserver selection and rotation. | 2 | /* Handle fileserver selection and rotation. |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/fs/afs/vl_probe.c b/fs/afs/vl_probe.c index beb991563939..858498cc1b05 100644 --- a/fs/afs/vl_probe.c +++ b/fs/afs/vl_probe.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* AFS vlserver probing | 2 | /* AFS vlserver probing |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
diff --git a/fs/afs/vl_rotate.c b/fs/afs/vl_rotate.c index 3f845489a9f0..9a5ce9687779 100644 --- a/fs/afs/vl_rotate.c +++ b/fs/afs/vl_rotate.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Handle vlserver selection and rotation. | 2 | /* Handle vlserver selection and rotation. |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/fs/afs/xattr.c b/fs/afs/xattr.c index 17f58fea7ec1..5552d034090a 100644 --- a/fs/afs/xattr.c +++ b/fs/afs/xattr.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Extended attribute handling for AFS. We use xattrs to get and set metadata | 2 | /* Extended attribute handling for AFS. We use xattrs to get and set metadata |
| 2 | * instead of providing pioctl(). | 3 | * instead of providing pioctl(). |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. | 5 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. |
| 5 | * Written by David Howells (dhowells@redhat.com) | 6 | * Written by David Howells (dhowells@redhat.com) |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public Licence | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the Licence, or (at your option) any later version. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
diff --git a/fs/afs/xdr_fs.h b/fs/afs/xdr_fs.h index aa21f3068d52..94f1f398eefa 100644 --- a/fs/afs/xdr_fs.h +++ b/fs/afs/xdr_fs.h | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* AFS fileserver XDR types | 2 | /* AFS fileserver XDR types |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #ifndef XDR_FS_H | 8 | #ifndef XDR_FS_H |
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index 10de675dc6fc..18722aaeda33 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* YFS File Server client stubs | 2 | /* YFS File Server client stubs |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 91262c34b797..c2b8663f5b00 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/anon_inodes.c | 3 | * fs/anon_inodes.c |
| 3 | * | 4 | * |
diff --git a/fs/autofs/Kconfig b/fs/autofs/Kconfig index eaebcd430cc3..3b3a6b1423c6 100644 --- a/fs/autofs/Kconfig +++ b/fs/autofs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config AUTOFS4_FS | 2 | config AUTOFS4_FS |
| 2 | tristate "Old Kconfig name for Kernel automounter support" | 3 | tristate "Old Kconfig name for Kernel automounter support" |
| 3 | select AUTOFS_FS | 4 | select AUTOFS_FS |
diff --git a/fs/autofs/Makefile b/fs/autofs/Makefile index 1f85d35ec8b7..495ac542e172 100644 --- a/fs/autofs/Makefile +++ b/fs/autofs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux autofs-filesystem routines. | 3 | # Makefile for the linux autofs-filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h index e1091312abe1..8c0c11181fad 100644 --- a/fs/autofs/autofs_i.h +++ b/fs/autofs/autofs_i.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved |
| 3 | * Copyright 2005-2006 Ian Kent <raven@themaw.net> | 4 | * Copyright 2005-2006 Ian Kent <raven@themaw.net> |
| 4 | * | ||
| 5 | * This file is part of the Linux kernel and is made available under | ||
| 6 | * the terms of the GNU General Public License, version 2, or at your | ||
| 7 | * option, any later version, incorporated herein by reference. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | /* Internal header file for autofs */ | 7 | /* Internal header file for autofs */ |
diff --git a/fs/autofs/dev-ioctl.c b/fs/autofs/dev-ioctl.c index e9fe74d1541b..a3cdb0036c5d 100644 --- a/fs/autofs/dev-ioctl.c +++ b/fs/autofs/dev-ioctl.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2008 Red Hat, Inc. All rights reserved. | 3 | * Copyright 2008 Red Hat, Inc. All rights reserved. |
| 3 | * Copyright 2008 Ian Kent <raven@themaw.net> | 4 | * Copyright 2008 Ian Kent <raven@themaw.net> |
| 4 | * | ||
| 5 | * This file is part of the Linux kernel and is made available under | ||
| 6 | * the terms of the GNU General Public License, version 2, or at your | ||
| 7 | * option, any later version, incorporated herein by reference. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/miscdevice.h> | 7 | #include <linux/miscdevice.h> |
diff --git a/fs/autofs/expire.c b/fs/autofs/expire.c index 28d9c2b1b3bb..cdff0567aacb 100644 --- a/fs/autofs/expire.c +++ b/fs/autofs/expire.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> | 4 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> |
| 4 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> | 5 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> |
| 5 | * | ||
| 6 | * This file is part of the Linux kernel and is made available under | ||
| 7 | * the terms of the GNU General Public License, version 2, or at your | ||
| 8 | * option, any later version, incorporated herein by reference. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include "autofs_i.h" | 8 | #include "autofs_i.h" |
diff --git a/fs/autofs/init.c b/fs/autofs/init.c index c0c1db2cc6ea..d3f55e874338 100644 --- a/fs/autofs/init.c +++ b/fs/autofs/init.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * | ||
| 4 | * This file is part of the Linux kernel and is made available under | ||
| 5 | * the terms of the GNU General Public License, version 2, or at your | ||
| 6 | * option, any later version, incorporated herein by reference. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index fb0225f21c12..9edf243713eb 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * Copyright 2005-2006 Ian Kent <raven@themaw.net> | 4 | * Copyright 2005-2006 Ian Kent <raven@themaw.net> |
| 4 | * | ||
| 5 | * This file is part of the Linux kernel and is made available under | ||
| 6 | * the terms of the GNU General Public License, version 2, or at your | ||
| 7 | * option, any later version, incorporated herein by reference. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/seq_file.h> | 7 | #include <linux/seq_file.h> |
diff --git a/fs/autofs/root.c b/fs/autofs/root.c index 1246f396bf0e..e646569c75ed 100644 --- a/fs/autofs/root.c +++ b/fs/autofs/root.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> | 4 | * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> |
| 4 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> | 5 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> |
| 5 | * | ||
| 6 | * This file is part of the Linux kernel and is made available under | ||
| 7 | * the terms of the GNU General Public License, version 2, or at your | ||
| 8 | * option, any later version, incorporated herein by reference. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/capability.h> | 8 | #include <linux/capability.h> |
diff --git a/fs/autofs/symlink.c b/fs/autofs/symlink.c index aad3902c0cc1..7ac67dc76039 100644 --- a/fs/autofs/symlink.c +++ b/fs/autofs/symlink.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * | ||
| 4 | * This file is part of the Linux kernel and is made available under | ||
| 5 | * the terms of the GNU General Public License, version 2, or at your | ||
| 6 | * option, any later version, incorporated herein by reference. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include "autofs_i.h" | 6 | #include "autofs_i.h" |
diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 15a3e31d0904..b04c528b19d3 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved | 3 | * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved |
| 3 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> | 4 | * Copyright 2001-2006 Ian Kent <raven@themaw.net> |
| 4 | * | ||
| 5 | * This file is part of the Linux kernel and is made available under | ||
| 6 | * the terms of the GNU General Public License, version 2, or at your | ||
| 7 | * option, any later version, incorporated herein by reference. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/sched/signal.h> | 7 | #include <linux/sched/signal.h> |
diff --git a/fs/befs/Kconfig b/fs/befs/Kconfig index edc5cc2aefad..9550b6462b81 100644 --- a/fs/befs/Kconfig +++ b/fs/befs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config BEFS_FS | 2 | config BEFS_FS |
| 2 | tristate "BeOS file system (BeFS) support (read only)" | 3 | tristate "BeOS file system (BeFS) support (read only)" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/befs/Makefile b/fs/befs/Makefile index 8b9f66642a83..6c9c3cbc556e 100644 --- a/fs/befs/Makefile +++ b/fs/befs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux BeOS filesystem routines. | 3 | # Makefile for the linux BeOS filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index e273850c95af..462d096ff3e9 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/befs/linuxvfs.c | 3 | * linux/fs/befs/linuxvfs.c |
| 3 | * | 4 | * |
diff --git a/fs/bfs/Kconfig b/fs/bfs/Kconfig index 3728a6479c64..3e1247f07913 100644 --- a/fs/bfs/Kconfig +++ b/fs/bfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config BFS_FS | 2 | config BFS_FS |
| 2 | tristate "BFS file system support" | 3 | tristate "BFS file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/bfs/Makefile b/fs/bfs/Makefile index c787b36d940c..2b6bc5eb4de9 100644 --- a/fs/bfs/Makefile +++ b/fs/bfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for BFS filesystem. | 3 | # Makefile for BFS filesystem. |
| 3 | # | 4 | # |
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index dc0cd2aa3d65..5e97bed073d7 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/bfs/inode.c | 3 | * fs/bfs/inode.c |
| 3 | * BFS superblock and inode operations. | 4 | * BFS superblock and inode operations. |
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index 1fefd87eb4b4..8e8346a81723 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/binfmt_aout.c | 3 | * linux/fs/binfmt_aout.c |
| 3 | * | 4 | * |
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index fa9e99a962e0..8264b468f283 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/binfmt_elf.c | 3 | * linux/fs/binfmt_elf.c |
| 3 | * | 4 | * |
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index dd2d3f0cd55d..466497860c62 100644 --- a/fs/binfmt_em86.c +++ b/fs/binfmt_em86.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/binfmt_em86.c | 3 | * linux/fs/binfmt_em86.c |
| 3 | * | 4 | * |
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index aa4a7a23ff99..b8e145552ec7 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * binfmt_misc.c | 3 | * binfmt_misc.c |
| 3 | * | 4 | * |
diff --git a/fs/binfmt_script.c b/fs/binfmt_script.c index e996174cbfc0..e9e6a6f4a35f 100644 --- a/fs/binfmt_script.c +++ b/fs/binfmt_script.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/binfmt_script.c | 3 | * linux/fs/binfmt_script.c |
| 3 | * | 4 | * |
diff --git a/fs/block_dev.c b/fs/block_dev.c index 0f7552a87d54..e6886c93c89d 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/block_dev.c | 3 | * linux/fs/block_dev.c |
| 3 | * | 4 | * |
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index daf7908d1e35..84dd4a8980c5 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c | |||
| @@ -1008,6 +1008,7 @@ int btrfs_compress_pages(unsigned int type_level, struct address_space *mapping, | |||
| 1008 | struct list_head *workspace; | 1008 | struct list_head *workspace; |
| 1009 | int ret; | 1009 | int ret; |
| 1010 | 1010 | ||
| 1011 | level = btrfs_compress_op[type]->set_level(level); | ||
| 1011 | workspace = get_workspace(type, level); | 1012 | workspace = get_workspace(type, level); |
| 1012 | ret = btrfs_compress_op[type]->compress_pages(workspace, mapping, | 1013 | ret = btrfs_compress_op[type]->compress_pages(workspace, mapping, |
| 1013 | start, pages, | 1014 | start, pages, |
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index f79e477a378e..1aee51a9f3bf 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
| @@ -757,12 +757,14 @@ static struct btrfs_space_info *__find_space_info(struct btrfs_fs_info *info, | |||
| 757 | } | 757 | } |
| 758 | 758 | ||
| 759 | static void add_pinned_bytes(struct btrfs_fs_info *fs_info, | 759 | static void add_pinned_bytes(struct btrfs_fs_info *fs_info, |
| 760 | struct btrfs_ref *ref) | 760 | struct btrfs_ref *ref, int sign) |
| 761 | { | 761 | { |
| 762 | struct btrfs_space_info *space_info; | 762 | struct btrfs_space_info *space_info; |
| 763 | s64 num_bytes = -ref->len; | 763 | s64 num_bytes; |
| 764 | u64 flags; | 764 | u64 flags; |
| 765 | 765 | ||
| 766 | ASSERT(sign == 1 || sign == -1); | ||
| 767 | num_bytes = sign * ref->len; | ||
| 766 | if (ref->type == BTRFS_REF_METADATA) { | 768 | if (ref->type == BTRFS_REF_METADATA) { |
| 767 | if (ref->tree_ref.root == BTRFS_CHUNK_TREE_OBJECTID) | 769 | if (ref->tree_ref.root == BTRFS_CHUNK_TREE_OBJECTID) |
| 768 | flags = BTRFS_BLOCK_GROUP_SYSTEM; | 770 | flags = BTRFS_BLOCK_GROUP_SYSTEM; |
| @@ -2063,7 +2065,7 @@ int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, | |||
| 2063 | btrfs_ref_tree_mod(fs_info, generic_ref); | 2065 | btrfs_ref_tree_mod(fs_info, generic_ref); |
| 2064 | 2066 | ||
| 2065 | if (ret == 0 && old_ref_mod < 0 && new_ref_mod >= 0) | 2067 | if (ret == 0 && old_ref_mod < 0 && new_ref_mod >= 0) |
| 2066 | add_pinned_bytes(fs_info, generic_ref); | 2068 | add_pinned_bytes(fs_info, generic_ref, -1); |
| 2067 | 2069 | ||
| 2068 | return ret; | 2070 | return ret; |
| 2069 | } | 2071 | } |
| @@ -3882,8 +3884,7 @@ static int create_space_info(struct btrfs_fs_info *info, u64 flags) | |||
| 3882 | info->space_info_kobj, "%s", | 3884 | info->space_info_kobj, "%s", |
| 3883 | alloc_name(space_info->flags)); | 3885 | alloc_name(space_info->flags)); |
| 3884 | if (ret) { | 3886 | if (ret) { |
| 3885 | percpu_counter_destroy(&space_info->total_bytes_pinned); | 3887 | kobject_put(&space_info->kobj); |
| 3886 | kfree(space_info); | ||
| 3887 | return ret; | 3888 | return ret; |
| 3888 | } | 3889 | } |
| 3889 | 3890 | ||
| @@ -7190,7 +7191,7 @@ void btrfs_free_tree_block(struct btrfs_trans_handle *trans, | |||
| 7190 | } | 7191 | } |
| 7191 | out: | 7192 | out: |
| 7192 | if (pin) | 7193 | if (pin) |
| 7193 | add_pinned_bytes(fs_info, &generic_ref); | 7194 | add_pinned_bytes(fs_info, &generic_ref, 1); |
| 7194 | 7195 | ||
| 7195 | if (last_ref) { | 7196 | if (last_ref) { |
| 7196 | /* | 7197 | /* |
| @@ -7238,7 +7239,7 @@ int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_ref *ref) | |||
| 7238 | btrfs_ref_tree_mod(fs_info, ref); | 7239 | btrfs_ref_tree_mod(fs_info, ref); |
| 7239 | 7240 | ||
| 7240 | if (ret == 0 && old_ref_mod >= 0 && new_ref_mod < 0) | 7241 | if (ret == 0 && old_ref_mod >= 0 && new_ref_mod < 0) |
| 7241 | add_pinned_bytes(fs_info, ref); | 7242 | add_pinned_bytes(fs_info, ref, 1); |
| 7242 | 7243 | ||
| 7243 | return ret; | 7244 | return ret; |
| 7244 | } | 7245 | } |
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 7e85dca0e6f2..89f5be2bfb43 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
| @@ -2068,6 +2068,18 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) | |||
| 2068 | u64 len; | 2068 | u64 len; |
| 2069 | 2069 | ||
| 2070 | /* | 2070 | /* |
| 2071 | * If the inode needs a full sync, make sure we use a full range to | ||
| 2072 | * avoid log tree corruption, due to hole detection racing with ordered | ||
| 2073 | * extent completion for adjacent ranges, and assertion failures during | ||
| 2074 | * hole detection. | ||
| 2075 | */ | ||
| 2076 | if (test_bit(BTRFS_INODE_NEEDS_FULL_SYNC, | ||
| 2077 | &BTRFS_I(inode)->runtime_flags)) { | ||
| 2078 | start = 0; | ||
| 2079 | end = LLONG_MAX; | ||
| 2080 | } | ||
| 2081 | |||
| 2082 | /* | ||
| 2071 | * The range length can be represented by u64, we have to do the typecasts | 2083 | * The range length can be represented by u64, we have to do the typecasts |
| 2072 | * to avoid signed overflow if it's [0, LLONG_MAX] eg. from fsync() | 2084 | * to avoid signed overflow if it's [0, LLONG_MAX] eg. from fsync() |
| 2073 | */ | 2085 | */ |
| @@ -2554,10 +2566,8 @@ static int btrfs_punch_hole(struct inode *inode, loff_t offset, loff_t len) | |||
| 2554 | 2566 | ||
| 2555 | ret = btrfs_punch_hole_lock_range(inode, lockstart, lockend, | 2567 | ret = btrfs_punch_hole_lock_range(inode, lockstart, lockend, |
| 2556 | &cached_state); | 2568 | &cached_state); |
| 2557 | if (ret) { | 2569 | if (ret) |
| 2558 | inode_unlock(inode); | ||
| 2559 | goto out_only_mutex; | 2570 | goto out_only_mutex; |
| 2560 | } | ||
| 2561 | 2571 | ||
| 2562 | path = btrfs_alloc_path(); | 2572 | path = btrfs_alloc_path(); |
| 2563 | if (!path) { | 2573 | if (!path) { |
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index ca2716917e37..a9e2e66152ee 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c | |||
| @@ -332,6 +332,7 @@ static int inherit_props(struct btrfs_trans_handle *trans, | |||
| 332 | struct btrfs_fs_info *fs_info = root->fs_info; | 332 | struct btrfs_fs_info *fs_info = root->fs_info; |
| 333 | int ret; | 333 | int ret; |
| 334 | int i; | 334 | int i; |
| 335 | bool need_reserve = false; | ||
| 335 | 336 | ||
| 336 | if (!test_bit(BTRFS_INODE_HAS_PROPS, | 337 | if (!test_bit(BTRFS_INODE_HAS_PROPS, |
| 337 | &BTRFS_I(parent)->runtime_flags)) | 338 | &BTRFS_I(parent)->runtime_flags)) |
| @@ -357,11 +358,20 @@ static int inherit_props(struct btrfs_trans_handle *trans, | |||
| 357 | if (ret) | 358 | if (ret) |
| 358 | continue; | 359 | continue; |
| 359 | 360 | ||
| 360 | num_bytes = btrfs_calc_trans_metadata_size(fs_info, 1); | 361 | /* |
| 361 | ret = btrfs_block_rsv_add(root, trans->block_rsv, | 362 | * Currently callers should be reserving 1 item for properties, |
| 362 | num_bytes, BTRFS_RESERVE_NO_FLUSH); | 363 | * since we only have 1 property that we currently support. If |
| 363 | if (ret) | 364 | * we add more in the future we need to try and reserve more |
| 364 | return ret; | 365 | * space for them. But we should also revisit how we do space |
| 366 | * reservations if we do add more properties in the future. | ||
| 367 | */ | ||
| 368 | if (need_reserve) { | ||
| 369 | num_bytes = btrfs_calc_trans_metadata_size(fs_info, 1); | ||
| 370 | ret = btrfs_block_rsv_add(root, trans->block_rsv, | ||
| 371 | num_bytes, BTRFS_RESERVE_NO_FLUSH); | ||
| 372 | if (ret) | ||
| 373 | return ret; | ||
| 374 | } | ||
| 365 | 375 | ||
| 366 | ret = btrfs_setxattr(trans, inode, h->xattr_name, value, | 376 | ret = btrfs_setxattr(trans, inode, h->xattr_name, value, |
| 367 | strlen(value), 0); | 377 | strlen(value), 0); |
| @@ -375,9 +385,13 @@ static int inherit_props(struct btrfs_trans_handle *trans, | |||
| 375 | &BTRFS_I(inode)->runtime_flags); | 385 | &BTRFS_I(inode)->runtime_flags); |
| 376 | } | 386 | } |
| 377 | 387 | ||
| 378 | btrfs_block_rsv_release(fs_info, trans->block_rsv, num_bytes); | 388 | if (need_reserve) { |
| 379 | if (ret) | 389 | btrfs_block_rsv_release(fs_info, trans->block_rsv, |
| 380 | return ret; | 390 | num_bytes); |
| 391 | if (ret) | ||
| 392 | return ret; | ||
| 393 | } | ||
| 394 | need_reserve = true; | ||
| 381 | } | 395 | } |
| 382 | 396 | ||
| 383 | return 0; | 397 | return 0; |
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 1b9a5d0de139..22124122728c 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
| @@ -132,10 +132,8 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root | |||
| 132 | return -ENOMEM; | 132 | return -ENOMEM; |
| 133 | 133 | ||
| 134 | ret = btrfs_search_slot(trans, root, key, path, 0, 1); | 134 | ret = btrfs_search_slot(trans, root, key, path, 0, 1); |
| 135 | if (ret < 0) { | 135 | if (ret < 0) |
| 136 | btrfs_abort_transaction(trans, ret); | ||
| 137 | goto out; | 136 | goto out; |
| 138 | } | ||
| 139 | 137 | ||
| 140 | if (ret > 0) { | 138 | if (ret > 0) { |
| 141 | btrfs_crit(fs_info, | 139 | btrfs_crit(fs_info, |
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 5a5930e3d32b..2f078b77fe14 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c | |||
| @@ -825,7 +825,12 @@ int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs, | |||
| 825 | fs_devs->fsid_kobj.kset = btrfs_kset; | 825 | fs_devs->fsid_kobj.kset = btrfs_kset; |
| 826 | error = kobject_init_and_add(&fs_devs->fsid_kobj, | 826 | error = kobject_init_and_add(&fs_devs->fsid_kobj, |
| 827 | &btrfs_ktype, parent, "%pU", fs_devs->fsid); | 827 | &btrfs_ktype, parent, "%pU", fs_devs->fsid); |
| 828 | return error; | 828 | if (error) { |
| 829 | kobject_put(&fs_devs->fsid_kobj); | ||
| 830 | return error; | ||
| 831 | } | ||
| 832 | |||
| 833 | return 0; | ||
| 829 | } | 834 | } |
| 830 | 835 | ||
| 831 | int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info) | 836 | int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info) |
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c index 748cd1598255..96fce4bef4e7 100644 --- a/fs/btrfs/tree-checker.c +++ b/fs/btrfs/tree-checker.c | |||
| @@ -107,8 +107,26 @@ static void file_extent_err(const struct extent_buffer *eb, int slot, | |||
| 107 | (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ | 107 | (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ |
| 108 | }) | 108 | }) |
| 109 | 109 | ||
| 110 | static u64 file_extent_end(struct extent_buffer *leaf, | ||
| 111 | struct btrfs_key *key, | ||
| 112 | struct btrfs_file_extent_item *extent) | ||
| 113 | { | ||
| 114 | u64 end; | ||
| 115 | u64 len; | ||
| 116 | |||
| 117 | if (btrfs_file_extent_type(leaf, extent) == BTRFS_FILE_EXTENT_INLINE) { | ||
| 118 | len = btrfs_file_extent_ram_bytes(leaf, extent); | ||
| 119 | end = ALIGN(key->offset + len, leaf->fs_info->sectorsize); | ||
| 120 | } else { | ||
| 121 | len = btrfs_file_extent_num_bytes(leaf, extent); | ||
| 122 | end = key->offset + len; | ||
| 123 | } | ||
| 124 | return end; | ||
| 125 | } | ||
| 126 | |||
| 110 | static int check_extent_data_item(struct extent_buffer *leaf, | 127 | static int check_extent_data_item(struct extent_buffer *leaf, |
| 111 | struct btrfs_key *key, int slot) | 128 | struct btrfs_key *key, int slot, |
| 129 | struct btrfs_key *prev_key) | ||
| 112 | { | 130 | { |
| 113 | struct btrfs_fs_info *fs_info = leaf->fs_info; | 131 | struct btrfs_fs_info *fs_info = leaf->fs_info; |
| 114 | struct btrfs_file_extent_item *fi; | 132 | struct btrfs_file_extent_item *fi; |
| @@ -188,6 +206,28 @@ static int check_extent_data_item(struct extent_buffer *leaf, | |||
| 188 | CHECK_FE_ALIGNED(leaf, slot, fi, offset, sectorsize) || | 206 | CHECK_FE_ALIGNED(leaf, slot, fi, offset, sectorsize) || |
| 189 | CHECK_FE_ALIGNED(leaf, slot, fi, num_bytes, sectorsize)) | 207 | CHECK_FE_ALIGNED(leaf, slot, fi, num_bytes, sectorsize)) |
| 190 | return -EUCLEAN; | 208 | return -EUCLEAN; |
| 209 | |||
| 210 | /* | ||
| 211 | * Check that no two consecutive file extent items, in the same leaf, | ||
| 212 | * present ranges that overlap each other. | ||
| 213 | */ | ||
| 214 | if (slot > 0 && | ||
| 215 | prev_key->objectid == key->objectid && | ||
| 216 | prev_key->type == BTRFS_EXTENT_DATA_KEY) { | ||
| 217 | struct btrfs_file_extent_item *prev_fi; | ||
| 218 | u64 prev_end; | ||
| 219 | |||
| 220 | prev_fi = btrfs_item_ptr(leaf, slot - 1, | ||
| 221 | struct btrfs_file_extent_item); | ||
| 222 | prev_end = file_extent_end(leaf, prev_key, prev_fi); | ||
| 223 | if (prev_end > key->offset) { | ||
| 224 | file_extent_err(leaf, slot - 1, | ||
| 225 | "file extent end range (%llu) goes beyond start offset (%llu) of the next file extent", | ||
| 226 | prev_end, key->offset); | ||
| 227 | return -EUCLEAN; | ||
| 228 | } | ||
| 229 | } | ||
| 230 | |||
| 191 | return 0; | 231 | return 0; |
| 192 | } | 232 | } |
| 193 | 233 | ||
| @@ -774,14 +814,15 @@ static int check_inode_item(struct extent_buffer *leaf, | |||
| 774 | * Common point to switch the item-specific validation. | 814 | * Common point to switch the item-specific validation. |
| 775 | */ | 815 | */ |
| 776 | static int check_leaf_item(struct extent_buffer *leaf, | 816 | static int check_leaf_item(struct extent_buffer *leaf, |
| 777 | struct btrfs_key *key, int slot) | 817 | struct btrfs_key *key, int slot, |
| 818 | struct btrfs_key *prev_key) | ||
| 778 | { | 819 | { |
| 779 | int ret = 0; | 820 | int ret = 0; |
| 780 | struct btrfs_chunk *chunk; | 821 | struct btrfs_chunk *chunk; |
| 781 | 822 | ||
| 782 | switch (key->type) { | 823 | switch (key->type) { |
| 783 | case BTRFS_EXTENT_DATA_KEY: | 824 | case BTRFS_EXTENT_DATA_KEY: |
| 784 | ret = check_extent_data_item(leaf, key, slot); | 825 | ret = check_extent_data_item(leaf, key, slot, prev_key); |
| 785 | break; | 826 | break; |
| 786 | case BTRFS_EXTENT_CSUM_KEY: | 827 | case BTRFS_EXTENT_CSUM_KEY: |
| 787 | ret = check_csum_item(leaf, key, slot); | 828 | ret = check_csum_item(leaf, key, slot); |
| @@ -928,7 +969,7 @@ static int check_leaf(struct extent_buffer *leaf, bool check_item_data) | |||
| 928 | * Check if the item size and content meet other | 969 | * Check if the item size and content meet other |
| 929 | * criteria | 970 | * criteria |
| 930 | */ | 971 | */ |
| 931 | ret = check_leaf_item(leaf, &key, slot); | 972 | ret = check_leaf_item(leaf, &key, slot, &prev_key); |
| 932 | if (ret < 0) | 973 | if (ret < 0) |
| 933 | return ret; | 974 | return ret; |
| 934 | } | 975 | } |
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 6adcd8a2c5c7..6c47f6ed3e94 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
| @@ -4182,6 +4182,7 @@ fill_holes: | |||
| 4182 | *last_extent, 0, | 4182 | *last_extent, 0, |
| 4183 | 0, len, 0, len, | 4183 | 0, len, 0, len, |
| 4184 | 0, 0, 0); | 4184 | 0, 0, 0); |
| 4185 | *last_extent += len; | ||
| 4185 | } | 4186 | } |
| 4186 | } | 4187 | } |
| 4187 | } | 4188 | } |
diff --git a/fs/buffer.c b/fs/buffer.c index 0faa41fb4c88..e450c55f6434 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/buffer.c | 3 | * linux/fs/buffer.c |
| 3 | * | 4 | * |
diff --git a/fs/cachefiles/Kconfig b/fs/cachefiles/Kconfig index 80e9c6167f0b..ae559ed5b3b3 100644 --- a/fs/cachefiles/Kconfig +++ b/fs/cachefiles/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | config CACHEFILES | 3 | config CACHEFILES |
| 3 | tristate "Filesystem caching on files" | 4 | tristate "Filesystem caching on files" |
diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c index 4a717d400807..dfb14dbddf51 100644 --- a/fs/cachefiles/bind.c +++ b/fs/cachefiles/bind.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Bind and unbind a cache from the filesystem backing it | 2 | /* Bind and unbind a cache from the filesystem backing it |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/fs/cachefiles/daemon.c b/fs/cachefiles/daemon.c index 3fdee214a5bb..752c1e43416f 100644 --- a/fs/cachefiles/daemon.c +++ b/fs/cachefiles/daemon.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Daemon interface | 2 | /* Daemon interface |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c index 222bc5d8b62c..4cea5fbf695e 100644 --- a/fs/cachefiles/interface.c +++ b/fs/cachefiles/interface.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* FS-Cache interface to CacheFiles | 2 | /* FS-Cache interface to CacheFiles |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/fs/cachefiles/internal.h b/fs/cachefiles/internal.h index d2f6f996e65a..cf9bd6401c2d 100644 --- a/fs/cachefiles/internal.h +++ b/fs/cachefiles/internal.h | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* General netfs cache on cache files internal defs | 2 | /* General netfs cache on cache files internal defs |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #ifdef pr_fmt | 8 | #ifdef pr_fmt |
diff --git a/fs/cachefiles/key.c b/fs/cachefiles/key.c index 33b58c60f2d1..be96f5fc5cac 100644 --- a/fs/cachefiles/key.c +++ b/fs/cachefiles/key.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Key to pathname encoder | 2 | /* Key to pathname encoder |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/fs/cachefiles/main.c b/fs/cachefiles/main.c index f54d3f5b2e40..ddf0cd58d60c 100644 --- a/fs/cachefiles/main.c +++ b/fs/cachefiles/main.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Network filesystem caching backend to use cache files on a premounted | 2 | /* Network filesystem caching backend to use cache files on a premounted |
| 2 | * filesystem | 3 | * filesystem |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 5 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 5 | * Written by David Howells (dhowells@redhat.com) | 6 | * Written by David Howells (dhowells@redhat.com) |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public Licence | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the Licence, or (at your option) any later version. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index d27720cd3664..ecc8ecbbfa5a 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* CacheFiles path walking and related routines | 2 | /* CacheFiles path walking and related routines |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/fs/cachefiles/proc.c b/fs/cachefiles/proc.c index 0ce1aa56b67f..6e67aea0f24e 100644 --- a/fs/cachefiles/proc.c +++ b/fs/cachefiles/proc.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* CacheFiles statistics | 2 | /* CacheFiles statistics |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c index 8a577409d030..44a3ce1e4ce4 100644 --- a/fs/cachefiles/rdwr.c +++ b/fs/cachefiles/rdwr.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Storage object read/write | 2 | /* Storage object read/write |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/mount.h> | 8 | #include <linux/mount.h> |
diff --git a/fs/cachefiles/security.c b/fs/cachefiles/security.c index 31bbc0528b11..aec13fd94692 100644 --- a/fs/cachefiles/security.c +++ b/fs/cachefiles/security.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* CacheFiles security management | 2 | /* CacheFiles security management |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/fs.h> | 8 | #include <linux/fs.h> |
diff --git a/fs/cachefiles/xattr.c b/fs/cachefiles/xattr.c index 511e6c68156a..72e42438f3d7 100644 --- a/fs/cachefiles/xattr.c +++ b/fs/cachefiles/xattr.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* CacheFiles extended attribute management | 2 | /* CacheFiles extended attribute management |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/fs/ceph/Kconfig b/fs/ceph/Kconfig index 52095f473464..7f7d92d6b024 100644 --- a/fs/ceph/Kconfig +++ b/fs/ceph/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CEPH_FS | 2 | config CEPH_FS |
| 2 | tristate "Ceph distributed file system" | 3 | tristate "Ceph distributed file system" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index c864b44c8341..01be7c1bc4c6 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | #include <linux/ceph/ceph_debug.h> | 3 | #include <linux/ceph/ceph_debug.h> |
| 3 | 4 | ||
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 76724efc831c..aae2b8b2adf5 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CIFS | 2 | config CIFS |
| 2 | tristate "SMB3 and CIFS support (advanced network filesystem)" | 3 | tristate "SMB3 and CIFS support (advanced network filesystem)" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/cifs/nterr.c b/fs/cifs/nterr.c index b6023c646123..358a766375b4 100644 --- a/fs/cifs/nterr.c +++ b/fs/cifs/nterr.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Unix SMB/Netbios implementation. | 3 | * Unix SMB/Netbios implementation. |
| 3 | * Version 1.9. | 4 | * Version 1.9. |
| 4 | * RPC Pipe client / server routines | 5 | * RPC Pipe client / server routines |
| 5 | * Copyright (C) Luke Kenneth Casson Leighton 1997-2001. | 6 | * Copyright (C) Luke Kenneth Casson Leighton 1997-2001. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | /* NT error codes - see nterr.h */ | 9 | /* NT error codes - see nterr.h */ |
diff --git a/fs/cifs/nterr.h b/fs/cifs/nterr.h index 7a0eae5ae7c9..edd4741cab0a 100644 --- a/fs/cifs/nterr.h +++ b/fs/cifs/nterr.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Unix SMB/Netbios implementation. | 3 | Unix SMB/Netbios implementation. |
| 3 | Version 1.9. | 4 | Version 1.9. |
| @@ -7,19 +8,6 @@ | |||
| 7 | Copyright (C) Luke Kenneth Casson Leighton 1996-2000 | 8 | Copyright (C) Luke Kenneth Casson Leighton 1996-2000 |
| 8 | Copyright (C) Paul Ashton 1998-2000 | 9 | Copyright (C) Paul Ashton 1998-2000 |
| 9 | 10 | ||
| 10 | This program is free software; you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 2 of the License, or | ||
| 13 | (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 | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with this program; if not, write to the Free Software | ||
| 22 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 23 | */ | 11 | */ |
| 24 | 12 | ||
| 25 | 13 | ||
diff --git a/fs/cifs/smbencrypt.c b/fs/cifs/smbencrypt.c index a0b80ac651a6..2b6d87bfdf8e 100644 --- a/fs/cifs/smbencrypt.c +++ b/fs/cifs/smbencrypt.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Unix SMB/Netbios implementation. | 3 | Unix SMB/Netbios implementation. |
| 3 | Version 1.9. | 4 | Version 1.9. |
| @@ -8,19 +9,6 @@ | |||
| 8 | Copyright (C) Andrew Bartlett <abartlet@samba.org> 2002-2003 | 9 | Copyright (C) Andrew Bartlett <abartlet@samba.org> 2002-2003 |
| 9 | Modified by Steve French (sfrench@us.ibm.com) 2002-2003 | 10 | Modified by Steve French (sfrench@us.ibm.com) 2002-2003 |
| 10 | 11 | ||
| 11 | This program is free software; you can redistribute it and/or modify | ||
| 12 | it under the terms of the GNU General Public License as published by | ||
| 13 | the Free Software Foundation; either version 2 of the License, or | ||
| 14 | (at your option) any later version. | ||
| 15 | |||
| 16 | This program is distributed in the hope that it will be useful, | ||
| 17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | GNU General Public License for more details. | ||
| 20 | |||
| 21 | You should have received a copy of the GNU General Public License | ||
| 22 | along with this program; if not, write to the Free Software | ||
| 23 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 24 | */ | 12 | */ |
| 25 | 13 | ||
| 26 | #include <linux/crypto.h> | 14 | #include <linux/crypto.h> |
diff --git a/fs/coda/Kconfig b/fs/coda/Kconfig index c0e5a7fad06d..ae6759f9594a 100644 --- a/fs/coda/Kconfig +++ b/fs/coda/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CODA_FS | 2 | config CODA_FS |
| 2 | tristate "Coda file system support (advanced network fs)" | 3 | tristate "Coda file system support (advanced network fs)" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/coda/Makefile b/fs/coda/Makefile index 1bab69a0d347..1ce66819da2a 100644 --- a/fs/coda/Makefile +++ b/fs/coda/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux Coda filesystem routines. | 3 | # Makefile for the Linux Coda filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/configfs/Kconfig b/fs/configfs/Kconfig index 9febcdefdfdc..272b64456999 100644 --- a/fs/configfs/Kconfig +++ b/fs/configfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CONFIGFS_FS | 2 | config CONFIGFS_FS |
| 2 | tristate "Userspace-driven configuration filesystem" | 3 | tristate "Userspace-driven configuration filesystem" |
| 3 | select SYSFS | 4 | select SYSFS |
diff --git a/fs/configfs/Makefile b/fs/configfs/Makefile index 00ffb278e98c..0200498ede27 100644 --- a/fs/configfs/Makefile +++ b/fs/configfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the configfs virtual filesystem | 3 | # Makefile for the configfs virtual filesystem |
| 3 | # | 4 | # |
diff --git a/fs/cramfs/Kconfig b/fs/cramfs/Kconfig index 5933f995309a..c8bebb70a971 100644 --- a/fs/cramfs/Kconfig +++ b/fs/cramfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CRAMFS | 2 | config CRAMFS |
| 2 | tristate "Compressed ROM file system support (cramfs)" | 3 | tristate "Compressed ROM file system support (cramfs)" |
| 3 | select ZLIB_INFLATE | 4 | select ZLIB_INFLATE |
diff --git a/fs/cramfs/Makefile b/fs/cramfs/Makefile index 92ebb464a725..8c3ed2982419 100644 --- a/fs/cramfs/Makefile +++ b/fs/cramfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux cramfs routines. | 3 | # Makefile for the linux cramfs routines. |
| 3 | # | 4 | # |
diff --git a/fs/crypto/Kconfig b/fs/crypto/Kconfig index f0de238000c0..24ed99e2eca0 100644 --- a/fs/crypto/Kconfig +++ b/fs/crypto/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FS_ENCRYPTION | 2 | config FS_ENCRYPTION |
| 2 | bool "FS Encryption (Per-file encryption)" | 3 | bool "FS Encryption (Per-file encryption)" |
| 3 | select CRYPTO | 4 | select CRYPTO |
diff --git a/fs/crypto/Makefile b/fs/crypto/Makefile index cb496989a6b6..4f0df5e682e4 100644 --- a/fs/crypto/Makefile +++ b/fs/crypto/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o | 2 | obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o |
| 2 | 3 | ||
| 3 | fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o | 4 | fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o |
diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c index 68e2ca4c4af6..335a362ee446 100644 --- a/fs/crypto/crypto.c +++ b/fs/crypto/crypto.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This contains encryption functions for per-file encryption. | 3 | * This contains encryption functions for per-file encryption. |
| 3 | * | 4 | * |
diff --git a/fs/crypto/hooks.c b/fs/crypto/hooks.c index 2dc22549d724..bd525f7573a4 100644 --- a/fs/crypto/hooks.c +++ b/fs/crypto/hooks.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/crypto/hooks.c | 3 | * fs/crypto/hooks.c |
| 3 | * | 4 | * |
diff --git a/fs/dcache.c b/fs/dcache.c index 8136bda27a1f..c435398f2c81 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/dcache.c | 3 | * fs/dcache.c |
| 3 | * | 4 | * |
diff --git a/fs/dcookies.c b/fs/dcookies.c index 57bc96435feb..6eeb61100a09 100644 --- a/fs/dcookies.c +++ b/fs/dcookies.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * dcookies.c | 3 | * dcookies.c |
| 3 | * | 4 | * |
diff --git a/fs/debugfs/Makefile b/fs/debugfs/Makefile index 840c45696668..9c0fe38cfb5e 100644 --- a/fs/debugfs/Makefile +++ b/fs/debugfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | debugfs-objs := inode.o file.o | 2 | debugfs-objs := inode.o file.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_DEBUG_FS) += debugfs.o | 4 | obj-$(CONFIG_DEBUG_FS) += debugfs.o |
diff --git a/fs/devpts/Makefile b/fs/devpts/Makefile index 236696efcbac..66064c8fcb3e 100644 --- a/fs/devpts/Makefile +++ b/fs/devpts/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux /dev/pts virtual filesystem. | 3 | # Makefile for the Linux /dev/pts virtual filesystem. |
| 3 | # | 4 | # |
diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c index 553a3f3300ae..2c14ae044dce 100644 --- a/fs/devpts/inode.c +++ b/fs/devpts/inode.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* -*- linux-c -*- --------------------------------------------------------- * | 2 | /* -*- linux-c -*- --------------------------------------------------------- * |
| 2 | * | 3 | * |
| 3 | * linux/fs/devpts/inode.c | 4 | * linux/fs/devpts/inode.c |
| 4 | * | 5 | * |
| 5 | * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved | 6 | * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved |
| 6 | * | 7 | * |
| 7 | * This file is part of the Linux kernel and is made available under | ||
| 8 | * the terms of the GNU General Public License, version 2, or at your | ||
| 9 | * option, any later version, incorporated herein by reference. | ||
| 10 | * | ||
| 11 | * ------------------------------------------------------------------------- */ | 8 | * ------------------------------------------------------------------------- */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/fs/direct-io.c b/fs/direct-io.c index fbe885d68035..ac7fb19b6ade 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/direct-io.c | 3 | * fs/direct-io.c |
| 3 | * | 4 | * |
diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index e4242c3f8486..f82a4952769d 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig DLM | 2 | menuconfig DLM |
| 2 | tristate "Distributed Lock Manager (DLM)" | 3 | tristate "Distributed Lock Manager (DLM)" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/ecryptfs/Kconfig b/fs/ecryptfs/Kconfig index 434aa313f077..522c35d5292b 100644 --- a/fs/ecryptfs/Kconfig +++ b/fs/ecryptfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ECRYPT_FS | 2 | config ECRYPT_FS |
| 2 | tristate "eCrypt filesystem layer support" | 3 | tristate "eCrypt filesystem layer support" |
| 3 | depends on KEYS && CRYPTO && (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n) | 4 | depends on KEYS && CRYPTO && (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n) |
diff --git a/fs/ecryptfs/Makefile b/fs/ecryptfs/Makefile index 49678a69947d..4f2cc5b2542d 100644 --- a/fs/ecryptfs/Makefile +++ b/fs/ecryptfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux eCryptfs | 3 | # Makefile for the Linux eCryptfs |
| 3 | # | 4 | # |
diff --git a/fs/efivarfs/Kconfig b/fs/efivarfs/Kconfig index c2499ef174a2..edec8a19c894 100644 --- a/fs/efivarfs/Kconfig +++ b/fs/efivarfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config EFIVAR_FS | 2 | config EFIVAR_FS |
| 2 | tristate "EFI Variable filesystem" | 3 | tristate "EFI Variable filesystem" |
| 3 | depends on EFI | 4 | depends on EFI |
diff --git a/fs/efivarfs/Makefile b/fs/efivarfs/Makefile index 955d478177d5..0b1c5e63eb71 100644 --- a/fs/efivarfs/Makefile +++ b/fs/efivarfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the efivarfs filesystem | 3 | # Makefile for the efivarfs filesystem |
| 3 | # | 4 | # |
diff --git a/fs/efs/Kconfig b/fs/efs/Kconfig index d020e3c30fea..2df1bac8b375 100644 --- a/fs/efs/Kconfig +++ b/fs/efs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config EFS_FS | 2 | config EFS_FS |
| 2 | tristate "EFS file system support (read only)" | 3 | tristate "EFS file system support (read only)" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/efs/Makefile b/fs/efs/Makefile index 963543d46f0d..85e5b88f9471 100644 --- a/fs/efs/Makefile +++ b/fs/efs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux efs-filesystem routines. | 3 | # Makefile for the linux efs-filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/efs/inode.c b/fs/efs/inode.c index cdf0872382af..89e73a6f0d36 100644 --- a/fs/efs/inode.c +++ b/fs/efs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * inode.c | 3 | * inode.c |
| 3 | * | 4 | * |
diff --git a/fs/eventfd.c b/fs/eventfd.c index 93b1fa7bb298..8aa0ea8c55e8 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/eventfd.c | 3 | * fs/eventfd.c |
| 3 | * | 4 | * |
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/exec.c | 3 | * linux/fs/exec.c |
| 3 | * | 4 | * |
diff --git a/fs/exportfs/Makefile b/fs/exportfs/Makefile index d7c5d4ddb34b..a04a8af83efd 100644 --- a/fs/exportfs/Makefile +++ b/fs/exportfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the filesystem export support routines. | 3 | # Makefile for the filesystem export support routines. |
| 3 | 4 | ||
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c index c69927bed4ef..f0e549783caf 100644 --- a/fs/exportfs/expfs.c +++ b/fs/exportfs/expfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) Neil Brown 2002 | 3 | * Copyright (C) Neil Brown 2002 |
| 3 | * Copyright (C) Christoph Hellwig 2007 | 4 | * Copyright (C) Christoph Hellwig 2007 |
diff --git a/fs/ext2/Kconfig b/fs/ext2/Kconfig index 894e4c53d1d2..54eec9185627 100644 --- a/fs/ext2/Kconfig +++ b/fs/ext2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config EXT2_FS | 2 | config EXT2_FS |
| 2 | tristate "Second extended fs support" | 3 | tristate "Second extended fs support" |
| 3 | help | 4 | help |
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 3988633789cb..1d7ab73b1014 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/ext2/super.c | 3 | * linux/fs/ext2/super.c |
| 3 | * | 4 | * |
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig index 06f77ca7f36e..cbb5ca830e57 100644 --- a/fs/ext4/Kconfig +++ b/fs/ext4/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # Ext3 configs are here for backward compatibility with old configs which may | 2 | # Ext3 configs are here for backward compatibility with old configs which may |
| 2 | # have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable | 3 | # have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable |
| 3 | # kernels after the removal of ext3 driver. | 4 | # kernels after the removal of ext3 driver. |
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 884a6e776809..c7843b149a1e 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c | |||
| @@ -671,7 +671,7 @@ static int ext4_d_compare(const struct dentry *dentry, unsigned int len, | |||
| 671 | if (!IS_CASEFOLDED(dentry->d_parent->d_inode)) { | 671 | if (!IS_CASEFOLDED(dentry->d_parent->d_inode)) { |
| 672 | if (len != name->len) | 672 | if (len != name->len) |
| 673 | return -1; | 673 | return -1; |
| 674 | return !memcmp(str, name, len); | 674 | return memcmp(str, name->name, len); |
| 675 | } | 675 | } |
| 676 | 676 | ||
| 677 | return ext4_ci_compare(dentry->d_parent->d_inode, name, &qstr); | 677 | return ext4_ci_compare(dentry->d_parent->d_inode, name, &qstr); |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index f2c62e2a0c98..d40ed940001e 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
| @@ -518,10 +518,14 @@ __read_extent_tree_block(const char *function, unsigned int line, | |||
| 518 | } | 518 | } |
| 519 | if (buffer_verified(bh) && !(flags & EXT4_EX_FORCE_CACHE)) | 519 | if (buffer_verified(bh) && !(flags & EXT4_EX_FORCE_CACHE)) |
| 520 | return bh; | 520 | return bh; |
| 521 | err = __ext4_ext_check(function, line, inode, | 521 | if (!ext4_has_feature_journal(inode->i_sb) || |
| 522 | ext_block_hdr(bh), depth, pblk); | 522 | (inode->i_ino != |
| 523 | if (err) | 523 | le32_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_journal_inum))) { |
| 524 | goto errout; | 524 | err = __ext4_ext_check(function, line, inode, |
| 525 | ext_block_hdr(bh), depth, pblk); | ||
| 526 | if (err) | ||
| 527 | goto errout; | ||
| 528 | } | ||
| 525 | set_buffer_verified(bh); | 529 | set_buffer_verified(bh); |
| 526 | /* | 530 | /* |
| 527 | * If this is a leaf block, cache all of its entries | 531 | * If this is a leaf block, cache all of its entries |
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 82298c63ea6d..c7f77c643008 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
| @@ -5625,25 +5625,22 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr) | |||
| 5625 | up_write(&EXT4_I(inode)->i_data_sem); | 5625 | up_write(&EXT4_I(inode)->i_data_sem); |
| 5626 | ext4_journal_stop(handle); | 5626 | ext4_journal_stop(handle); |
| 5627 | if (error) { | 5627 | if (error) { |
| 5628 | if (orphan) | 5628 | if (orphan && inode->i_nlink) |
| 5629 | ext4_orphan_del(NULL, inode); | 5629 | ext4_orphan_del(NULL, inode); |
| 5630 | goto err_out; | 5630 | goto err_out; |
| 5631 | } | 5631 | } |
| 5632 | } | 5632 | } |
| 5633 | if (!shrink) | 5633 | if (!shrink) { |
| 5634 | pagecache_isize_extended(inode, oldsize, inode->i_size); | 5634 | pagecache_isize_extended(inode, oldsize, inode->i_size); |
| 5635 | 5635 | } else { | |
| 5636 | /* | 5636 | /* |
| 5637 | * Blocks are going to be removed from the inode. Wait | 5637 | * Blocks are going to be removed from the inode. Wait |
| 5638 | * for dio in flight. Temporarily disable | 5638 | * for dio in flight. |
| 5639 | * dioread_nolock to prevent livelock. | 5639 | */ |
| 5640 | */ | 5640 | inode_dio_wait(inode); |
| 5641 | if (orphan) { | ||
| 5642 | if (!ext4_should_journal_data(inode)) { | ||
| 5643 | inode_dio_wait(inode); | ||
| 5644 | } else | ||
| 5645 | ext4_wait_for_tail_page_commit(inode); | ||
| 5646 | } | 5641 | } |
| 5642 | if (orphan && ext4_should_journal_data(inode)) | ||
| 5643 | ext4_wait_for_tail_page_commit(inode); | ||
| 5647 | down_write(&EXT4_I(inode)->i_mmap_sem); | 5644 | down_write(&EXT4_I(inode)->i_mmap_sem); |
| 5648 | 5645 | ||
| 5649 | rc = ext4_break_layouts(inode); | 5646 | rc = ext4_break_layouts(inode); |
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig index e57cc754d543..110a38ca5d53 100644 --- a/fs/f2fs/Kconfig +++ b/fs/f2fs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config F2FS_FS | 2 | config F2FS_FS |
| 2 | tristate "F2FS filesystem support" | 3 | tristate "F2FS filesystem support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig index 3ff1772f612e..718163d0c621 100644 --- a/fs/fat/Kconfig +++ b/fs/fat/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FAT_FS | 2 | config FAT_FS |
| 2 | tristate | 3 | tristate |
| 3 | select NLS | 4 | select NLS |
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 9d01db37183f..1bda2ab6745b 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/fat/dir.c | 3 | * linux/fs/fat/dir.c |
| 3 | * | 4 | * |
diff --git a/fs/fat/file.c b/fs/fat/file.c index 0e3ed79fcc3f..4614c0ba5f1c 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/fat/file.c | 3 | * linux/fs/fat/file.c |
| 3 | * | 4 | * |
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index ba93d1373306..05689198f5af 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/fat/inode.c | 3 | * linux/fs/fat/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 4fc950bb6433..1e08bd54c5fb 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/fat/misc.c | 3 | * linux/fs/fat/misc.c |
| 3 | * | 4 | * |
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index f2cd365a4e86..9d062886fbc1 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/msdos/namei.c | 3 | * linux/fs/msdos/namei.c |
| 3 | * | 4 | * |
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index 996c8c25e9c6..0cdd0fb9f742 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/vfat/namei.c | 3 | * linux/fs/vfat/namei.c |
| 3 | * | 4 | * |
diff --git a/fs/file_table.c b/fs/file_table.c index 3f9c1b452c1d..b07b53f24ff5 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/file_table.c | 3 | * linux/fs/file_table.c |
| 3 | * | 4 | * |
diff --git a/fs/freevxfs/Kconfig b/fs/freevxfs/Kconfig index ce49df1020dd..c05c71d57291 100644 --- a/fs/freevxfs/Kconfig +++ b/fs/freevxfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config VXFS_FS | 2 | config VXFS_FS |
| 2 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" | 3 | tristate "FreeVxFS file system support (VERITAS VxFS(TM) compatible)" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/freevxfs/Makefile b/fs/freevxfs/Makefile index 87ad097440d6..e6ee59291521 100644 --- a/fs/freevxfs/Makefile +++ b/fs/freevxfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # VxFS Makefile | 3 | # VxFS Makefile |
| 3 | # | 4 | # |
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index b16645b417d9..e41cbe8e81b9 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/fs-writeback.c | 3 | * fs/fs-writeback.c |
| 3 | * | 4 | * |
diff --git a/fs/fs_context.c b/fs/fs_context.c index a47ccd5a4a78..103643c68e3f 100644 --- a/fs/fs_context.c +++ b/fs/fs_context.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Provide a way to create a superblock configuration context within the kernel | 2 | /* Provide a way to create a superblock configuration context within the kernel |
| 2 | * that allows a superblock to be set up prior to mounting. | 3 | * that allows a superblock to be set up prior to mounting. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. | 5 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. |
| 5 | * Written by David Howells (dhowells@redhat.com) | 6 | * Written by David Howells (dhowells@redhat.com) |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public Licence | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the Licence, or (at your option) any later version. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/fs/fs_parser.c b/fs/fs_parser.c index 570d71043acf..0d388faa25d1 100644 --- a/fs/fs_parser.c +++ b/fs/fs_parser.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Filesystem parameter parser. | 2 | /* Filesystem parameter parser. |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/export.h> | 8 | #include <linux/export.h> |
diff --git a/fs/fs_struct.c b/fs/fs_struct.c index be0250788b73..ca639ed967b7 100644 --- a/fs/fs_struct.c +++ b/fs/fs_struct.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/export.h> | 2 | #include <linux/export.h> |
| 2 | #include <linux/sched/signal.h> | 3 | #include <linux/sched/signal.h> |
| 3 | #include <linux/sched/task.h> | 4 | #include <linux/sched/task.h> |
diff --git a/fs/fscache/Kconfig b/fs/fscache/Kconfig index 3f6dfa989881..506c5e643f0d 100644 --- a/fs/fscache/Kconfig +++ b/fs/fscache/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | config FSCACHE | 3 | config FSCACHE |
| 3 | tristate "General filesystem local caching manager" | 4 | tristate "General filesystem local caching manager" |
diff --git a/fs/fscache/histogram.c b/fs/fscache/histogram.c index 9a13e9e15b69..4e5beeaaf454 100644 --- a/fs/fscache/histogram.c +++ b/fs/fscache/histogram.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* FS-Cache latency histogram | 2 | /* FS-Cache latency histogram |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #define FSCACHE_DEBUG_LEVEL THREAD | 8 | #define FSCACHE_DEBUG_LEVEL THREAD |
diff --git a/fs/fscache/netfs.c b/fs/fscache/netfs.c index c2f605483cc5..cce92216fa28 100644 --- a/fs/fscache/netfs.c +++ b/fs/fscache/netfs.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* FS-Cache netfs (client) registration | 2 | /* FS-Cache netfs (client) registration |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #define FSCACHE_DEBUG_LEVEL COOKIE | 8 | #define FSCACHE_DEBUG_LEVEL COOKIE |
diff --git a/fs/fscache/object-list.c b/fs/fscache/object-list.c index 43e6e28c164f..72ebfe578f40 100644 --- a/fs/fscache/object-list.c +++ b/fs/fscache/object-list.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Global fscache object list maintainer and viewer | 2 | /* Global fscache object list maintainer and viewer |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #define FSCACHE_DEBUG_LEVEL COOKIE | 8 | #define FSCACHE_DEBUG_LEVEL COOKIE |
diff --git a/fs/fsopen.c b/fs/fsopen.c index c2891e933ef1..a8bf83ce8d4e 100644 --- a/fs/fsopen.c +++ b/fs/fsopen.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Filesystem access-by-fd. | 2 | /* Filesystem access-by-fd. |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/fs_context.h> | 8 | #include <linux/fs_context.h> |
diff --git a/fs/fuse/Kconfig b/fs/fuse/Kconfig index 76f09ce7e5b2..24fc5a5c1b97 100644 --- a/fs/fuse/Kconfig +++ b/fs/fuse/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FUSE_FS | 2 | config FUSE_FS |
| 2 | tristate "FUSE (Filesystem in Userspace) support" | 3 | tristate "FUSE (Filesystem in Userspace) support" |
| 3 | select FS_POSIX_ACL | 4 | select FS_POSIX_ACL |
diff --git a/fs/fuse/Makefile b/fs/fuse/Makefile index f7b807bc1027..9485019c2a14 100644 --- a/fs/fuse/Makefile +++ b/fs/fuse/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the FUSE filesystem. | 3 | # Makefile for the FUSE filesystem. |
| 3 | # | 4 | # |
diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig index 6a1e499543f5..03c966840422 100644 --- a/fs/gfs2/Kconfig +++ b/fs/gfs2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config GFS2_FS | 2 | config GFS2_FS |
| 2 | tristate "GFS2 file system support" | 3 | tristate "GFS2 file system support" |
| 3 | select FS_POSIX_ACL | 4 | select FS_POSIX_ACL |
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 31df26ed7854..69bd1597bacf 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c | |||
| @@ -31,9 +31,10 @@ | |||
| 31 | * @delta is the difference between the current rtt sample and the | 31 | * @delta is the difference between the current rtt sample and the |
| 32 | * running average srtt. We add 1/8 of that to the srtt in order to | 32 | * running average srtt. We add 1/8 of that to the srtt in order to |
| 33 | * update the current srtt estimate. The variance estimate is a bit | 33 | * update the current srtt estimate. The variance estimate is a bit |
| 34 | * more complicated. We subtract the abs value of the @delta from | 34 | * more complicated. We subtract the current variance estimate from |
| 35 | * the current variance estimate and add 1/4 of that to the running | 35 | * the abs value of the @delta and add 1/4 of that to the running |
| 36 | * total. | 36 | * total. That's equivalent to 3/4 of the current variance |
| 37 | * estimate plus 1/4 of the abs of @delta. | ||
| 37 | * | 38 | * |
| 38 | * Note that the index points at the array entry containing the smoothed | 39 | * Note that the index points at the array entry containing the smoothed |
| 39 | * mean value, and the variance is always in the following entry | 40 | * mean value, and the variance is always in the following entry |
| @@ -49,7 +50,7 @@ static inline void gfs2_update_stats(struct gfs2_lkstats *s, unsigned index, | |||
| 49 | s64 delta = sample - s->stats[index]; | 50 | s64 delta = sample - s->stats[index]; |
| 50 | s->stats[index] += (delta >> 3); | 51 | s->stats[index] += (delta >> 3); |
| 51 | index++; | 52 | index++; |
| 52 | s->stats[index] += ((abs(delta) - s->stats[index]) >> 2); | 53 | s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; |
| 53 | } | 54 | } |
| 54 | 55 | ||
| 55 | /** | 56 | /** |
diff --git a/fs/hfs/Kconfig b/fs/hfs/Kconfig index 998e3a6decf3..44f6e89bcb75 100644 --- a/fs/hfs/Kconfig +++ b/fs/hfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HFS_FS | 2 | config HFS_FS |
| 2 | tristate "Apple Macintosh file system support" | 3 | tristate "Apple Macintosh file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/hfs/Makefile b/fs/hfs/Makefile index c41f5a85f42d..b65459bf3dc4 100644 --- a/fs/hfs/Makefile +++ b/fs/hfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux hfs filesystem routines. | 3 | # Makefile for the Linux hfs filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/hfsplus/Kconfig b/fs/hfsplus/Kconfig index a63371815aab..7d4229aecec0 100644 --- a/fs/hfsplus/Kconfig +++ b/fs/hfsplus/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HFSPLUS_FS | 2 | config HFSPLUS_FS |
| 2 | tristate "Apple Extended HFS file system support" | 3 | tristate "Apple Extended HFS file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 0cc5feff76cd..2b9e5743105e 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/hfsplus/super.c | 3 | * linux/fs/hfsplus/super.c |
| 3 | * | 4 | * |
diff --git a/fs/hpfs/Kconfig b/fs/hpfs/Kconfig index 56bd15c5bf6c..56aa0336254a 100644 --- a/fs/hpfs/Kconfig +++ b/fs/hpfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HPFS_FS | 2 | config HPFS_FS |
| 2 | tristate "OS/2 HPFS file system support" | 3 | tristate "OS/2 HPFS file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/hpfs/Makefile b/fs/hpfs/Makefile index 57b786fb9827..153c17382c19 100644 --- a/fs/hpfs/Makefile +++ b/fs/hpfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux hpfs filesystem routines. | 3 | # Makefile for the Linux hpfs filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index ed4264bca790..9db6d84f0d62 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/hpfs/super.c | 3 | * linux/fs/hpfs/super.c |
| 3 | * | 4 | * |
diff --git a/fs/hugetlbfs/Makefile b/fs/hugetlbfs/Makefile index 6adf870c63c6..d876ecfbe6bb 100644 --- a/fs/hugetlbfs/Makefile +++ b/fs/hugetlbfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux ramfs routines. | 3 | # Makefile for the linux ramfs routines. |
| 3 | # | 4 | # |
diff --git a/fs/inode.c b/fs/inode.c index e9d18b2c3f91..df6542ec3b88 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 1997 Linus Torvalds | 3 | * (C) 1997 Linus Torvalds |
| 3 | * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) | 4 | * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation) |
diff --git a/fs/isofs/Kconfig b/fs/isofs/Kconfig index 8ab9878e3671..5e7419599f50 100644 --- a/fs/isofs/Kconfig +++ b/fs/isofs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ISO9660_FS | 2 | config ISO9660_FS |
| 2 | tristate "ISO 9660 CDROM file system support" | 3 | tristate "ISO 9660 CDROM file system support" |
| 3 | help | 4 | help |
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 603b052a3c94..9e30d8703735 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/isofs/inode.c | 3 | * linux/fs/isofs/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/jbd2/Kconfig b/fs/jbd2/Kconfig index 5a9f5534d57b..4ad2c67f93f1 100644 --- a/fs/jbd2/Kconfig +++ b/fs/jbd2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config JBD2 | 2 | config JBD2 |
| 2 | tristate | 3 | tristate |
| 3 | select CRC32 | 4 | select CRC32 |
diff --git a/fs/jbd2/Makefile b/fs/jbd2/Makefile index 802a3413872a..126b4da6c7de 100644 --- a/fs/jbd2/Makefile +++ b/fs/jbd2/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux journaling routines. | 3 | # Makefile for the linux journaling routines. |
| 3 | # | 4 | # |
diff --git a/fs/jffs2/Kconfig b/fs/jffs2/Kconfig index ad850c5bf2ca..7c96bc107218 100644 --- a/fs/jffs2/Kconfig +++ b/fs/jffs2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config JFFS2_FS | 2 | config JFFS2_FS |
| 2 | tristate "Journalling Flash File System v2 (JFFS2) support" | 3 | tristate "Journalling Flash File System v2 (JFFS2) support" |
| 3 | select CRC32 | 4 | select CRC32 |
diff --git a/fs/jfs/Kconfig b/fs/jfs/Kconfig index 851de78fdabb..22a273bd4648 100644 --- a/fs/jfs/Kconfig +++ b/fs/jfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config JFS_FS | 2 | config JFS_FS |
| 2 | tristate "JFS filesystem support" | 3 | tristate "JFS filesystem support" |
| 3 | select NLS | 4 | select NLS |
diff --git a/fs/kernfs/Kconfig b/fs/kernfs/Kconfig index 397b5f7a7a16..e7f09105f6e9 100644 --- a/fs/kernfs/Kconfig +++ b/fs/kernfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # KERNFS should be selected by its users | 3 | # KERNFS should be selected by its users |
| 3 | # | 4 | # |
diff --git a/fs/kernfs/Makefile b/fs/kernfs/Makefile index 674337c76673..4ca54ff54c98 100644 --- a/fs/kernfs/Makefile +++ b/fs/kernfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the kernfs pseudo filesystem | 3 | # Makefile for the kernfs pseudo filesystem |
| 3 | # | 4 | # |
diff --git a/fs/libfs.c b/fs/libfs.c index 4b59b1816efb..7e52e77692ec 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/libfs.c | 3 | * fs/libfs.c |
| 3 | * Library for filesystems writers. | 4 | * Library for filesystems writers. |
diff --git a/fs/lockd/clntlock.c b/fs/lockd/clntlock.c index 5fb4f8910aab..a5bb3f721a9d 100644 --- a/fs/lockd/clntlock.c +++ b/fs/lockd/clntlock.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/lockd/clntlock.c | 3 | * linux/fs/lockd/clntlock.c |
| 3 | * | 4 | * |
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index d9c32d1a20c0..62f98225abb3 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/lockd/clntproc.c | 3 | * linux/fs/lockd/clntproc.c |
| 3 | * | 4 | * |
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 3056f3a0c270..1a639e34847d 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/lockd/svc.c | 3 | * linux/fs/lockd/svc.c |
| 3 | * | 4 | * |
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 899360ba3b84..0e610f422406 100644 --- a/fs/lockd/svcsubs.c +++ b/fs/lockd/svcsubs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/lockd/svcsubs.c | 3 | * linux/fs/lockd/svcsubs.c |
| 3 | * | 4 | * |
diff --git a/fs/locks.c b/fs/locks.c index 8af49f89ac2f..ec1e4a5df629 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/locks.c | 3 | * linux/fs/locks.c |
| 3 | * | 4 | * |
diff --git a/fs/mbcache.c b/fs/mbcache.c index 081ccf0caee3..97c54d3a2227 100644 --- a/fs/mbcache.c +++ b/fs/mbcache.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/spinlock.h> | 2 | #include <linux/spinlock.h> |
| 2 | #include <linux/slab.h> | 3 | #include <linux/slab.h> |
| 3 | #include <linux/list.h> | 4 | #include <linux/list.h> |
diff --git a/fs/minix/Kconfig b/fs/minix/Kconfig index bcd53a79156f..de2003974ff0 100644 --- a/fs/minix/Kconfig +++ b/fs/minix/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MINIX_FS | 2 | config MINIX_FS |
| 2 | tristate "Minix file system support" | 3 | tristate "Minix file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/minix/Makefile b/fs/minix/Makefile index 3063015abfd0..a2d3ab58d187 100644 --- a/fs/minix/Makefile +++ b/fs/minix/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux minix filesystem routines. | 3 | # Makefile for the Linux minix filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 101200761f61..f96073f25432 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/minix/inode.c | 3 | * linux/fs/minix/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 69d02cf8cf37..295a7a21b774 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NFS_FS | 2 | config NFS_FS |
| 2 | tristate "NFS client support" | 3 | tristate "NFS client support" |
| 3 | depends on INET && FILE_LOCKING && MULTIUSER | 4 | depends on INET && FILE_LOCKING && MULTIUSER |
diff --git a/fs/nfs/blocklayout/Makefile b/fs/nfs/blocklayout/Makefile index 3ca14c36d08b..7668a1bfb5fa 100644 --- a/fs/nfs/blocklayout/Makefile +++ b/fs/nfs/blocklayout/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the pNFS block layout driver kernel module | 3 | # Makefile for the pNFS block layout driver kernel module |
| 3 | # | 4 | # |
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index 8b78274e3e56..0ff3facf81da 100644 --- a/fs/nfs/delegation.c +++ b/fs/nfs/delegation.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/delegation.c | 3 | * linux/fs/nfs/delegation.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 47d445bec8c9..57b6a45576ad 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/dir.c | 3 | * linux/fs/nfs/dir.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 2436bd92bc00..0cb442406168 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/direct.c | 3 | * linux/fs/nfs/direct.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 144e183250c3..95dc90570786 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/file.c | 3 | * linux/fs/nfs/file.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/filelayout/Makefile b/fs/nfs/filelayout/Makefile index 8516cdffb9e9..de056312d374 100644 --- a/fs/nfs/filelayout/Makefile +++ b/fs/nfs/filelayout/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the pNFS Files Layout Driver kernel module | 3 | # Makefile for the pNFS Files Layout Driver kernel module |
| 3 | # | 4 | # |
diff --git a/fs/nfs/flexfilelayout/Makefile b/fs/nfs/flexfilelayout/Makefile index 1d2c9f6bbcd4..49f03422b6ad 100644 --- a/fs/nfs/flexfilelayout/Makefile +++ b/fs/nfs/flexfilelayout/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the pNFS Flexfile Layout Driver kernel module | 3 | # Makefile for the pNFS Flexfile Layout Driver kernel module |
| 3 | # | 4 | # |
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index 9920c52bd0cd..bcff3bf5ae09 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Module for pnfs flexfile layout driver. | 3 | * Module for pnfs flexfile layout driver. |
| 3 | * | 4 | * |
diff --git a/fs/nfs/fscache-index.c b/fs/nfs/fscache-index.c index 666415d13d52..15f271401dcc 100644 --- a/fs/nfs/fscache-index.c +++ b/fs/nfs/fscache-index.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* NFS FS-Cache index structure definition | 2 | /* NFS FS-Cache index structure definition |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/fs/nfs/fscache.c b/fs/nfs/fscache.c index 4dc887813c71..53507aa96b0b 100644 --- a/fs/nfs/fscache.c +++ b/fs/nfs/fscache.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* NFS filesystem cache interface | 2 | /* NFS filesystem cache interface |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/fs/nfs/fscache.h b/fs/nfs/fscache.h index 161ba2edb9d0..25a75e40d91d 100644 --- a/fs/nfs/fscache.h +++ b/fs/nfs/fscache.h | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* NFS filesystem cache interface definitions | 2 | /* NFS filesystem cache interface definitions |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 4 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) | 5 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public Licence | ||
| 8 | * as published by the Free Software Foundation; either version | ||
| 9 | * 2 of the Licence, or (at your option) any later version. | ||
| 10 | */ | 6 | */ |
| 11 | 7 | ||
| 12 | #ifndef _NFS_FSCACHE_H | 8 | #ifndef _NFS_FSCACHE_H |
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 3bc2550cfe4e..0b4a1a974411 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/inode.c | 3 | * linux/fs/nfs/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index 15f099a24c29..9287eb666322 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/namespace.c | 3 | * linux/fs/nfs/namespace.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/nfs2super.c b/fs/nfs/nfs2super.c index 0a9782c9171a..467f21ee6a35 100644 --- a/fs/nfs/nfs2super.c +++ b/fs/nfs/nfs2super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2012 Netapp, Inc. All rights reserved. | 3 | * Copyright (c) 2012 Netapp, Inc. All rights reserved. |
| 3 | */ | 4 | */ |
diff --git a/fs/nfs/nfs3client.c b/fs/nfs/nfs3client.c index 1afdb0f7473f..fb0c425b5d45 100644 --- a/fs/nfs/nfs3client.c +++ b/fs/nfs/nfs3client.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/nfs_fs.h> | 2 | #include <linux/nfs_fs.h> |
| 2 | #include <linux/nfs_mount.h> | 3 | #include <linux/nfs_mount.h> |
| 3 | #include <linux/sunrpc/addr.h> | 4 | #include <linux/sunrpc/addr.h> |
diff --git a/fs/nfs/nfs3super.c b/fs/nfs/nfs3super.c index 5c4394e4656b..7c5809431e61 100644 --- a/fs/nfs/nfs3super.c +++ b/fs/nfs/nfs3super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2012 Netapp, Inc. All rights reserved. | 3 | * Copyright (c) 2012 Netapp, Inc. All rights reserved. |
| 3 | */ | 4 | */ |
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index 3ce246346f02..81b9b6d7927a 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. | 3 | * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. |
| 3 | * Written by David Howells (dhowells@redhat.com) | 4 | * Written by David Howells (dhowells@redhat.com) |
diff --git a/fs/nfs/nfs4session.c b/fs/nfs/nfs4session.c index bcb532def9e2..4145a0138907 100644 --- a/fs/nfs/nfs4session.c +++ b/fs/nfs/nfs4session.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/nfs/nfs4session.c | 3 | * fs/nfs/nfs4session.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c index 689977e148cb..04c57066a11a 100644 --- a/fs/nfs/nfs4super.c +++ b/fs/nfs/nfs4super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2012 Bryan Schumaker <bjschuma@netapp.com> | 3 | * Copyright (c) 2012 Bryan Schumaker <bjschuma@netapp.com> |
| 3 | */ | 4 | */ |
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index 6ec30014a439..6ef5278326b6 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/pagelist.c | 3 | * linux/fs/nfs/pagelist.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/pnfs_nfs.c b/fs/nfs/pnfs_nfs.c index f5ad75fafc3c..c0046c348910 100644 --- a/fs/nfs/pnfs_nfs.c +++ b/fs/nfs/pnfs_nfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Common NFS I/O operations for the pnfs file based | 3 | * Common NFS I/O operations for the pnfs file based |
| 3 | * layout drivers. | 4 | * layout drivers. |
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index c799e540ed1e..c19841c82b6a 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/read.c | 3 | * linux/fs/nfs/read.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index d6c687419a81..f88ddac2dcdf 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/super.c | 3 | * linux/fs/nfs/super.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index bc5bb9323412..059a7c38bc4f 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/nfs/write.c | 3 | * linux/fs/nfs/write.c |
| 3 | * | 4 | * |
diff --git a/fs/nfs_common/Makefile b/fs/nfs_common/Makefile index d153ca3ea577..4bebe834c009 100644 --- a/fs/nfs_common/Makefile +++ b/fs/nfs_common/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for Linux filesystem routines that are shared by client and server. | 3 | # Makefile for Linux filesystem routines that are shared by client and server. |
| 3 | # | 4 | # |
diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c index 5be08f02a76b..b73d9dd37f73 100644 --- a/fs/nfs_common/grace.c +++ b/fs/nfs_common/grace.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Common code for control of lockd and nfsv4 grace periods. | 3 | * Common code for control of lockd and nfsv4 grace periods. |
| 3 | * | 4 | * |
diff --git a/fs/nfs_common/nfsacl.c b/fs/nfs_common/nfsacl.c index 538f142935ea..8ceb6425e01a 100644 --- a/fs/nfs_common/nfsacl.c +++ b/fs/nfs_common/nfsacl.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/nfs_common/nfsacl.c | 3 | * fs/nfs_common/nfsacl.c |
| 3 | * | 4 | * |
diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig index 20b1c17320d5..d25f6bbe7006 100644 --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NFSD | 2 | config NFSD |
| 2 | tristate "NFS server support" | 3 | tristate "NFS server support" |
| 3 | depends on INET | 4 | depends on INET |
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 789abc4dd1d2..7c686a270d60 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * per net namespace data structures for nfsd | 3 | * per net namespace data structures for nfsd |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2012, Jeff Layton <jlayton@redhat.com> | 5 | * Copyright (C) 2012, Jeff Layton <jlayton@redhat.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the Free | ||
| 8 | * Software Foundation; either version 2 of the License, or (at your option) | ||
| 9 | * any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along with | ||
| 17 | * this program; if not, write to the Free Software Foundation, Inc., 51 | ||
| 18 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 19 | */ | 6 | */ |
| 20 | 7 | ||
| 21 | #ifndef __NFSD_NETNS_H__ | 8 | #ifndef __NFSD_NETNS_H__ |
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 90972e1fd785..62c58cfeb8d8 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Syscall interface to knfsd. | 3 | * Syscall interface to knfsd. |
| 3 | * | 4 | * |
diff --git a/fs/nilfs2/Kconfig b/fs/nilfs2/Kconfig index 80da8eb27393..254d102e79c9 100644 --- a/fs/nilfs2/Kconfig +++ b/fs/nilfs2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NILFS2_FS | 2 | config NILFS2_FS |
| 2 | tristate "NILFS2 file system support" | 3 | tristate "NILFS2 file system support" |
| 3 | select CRC32 | 4 | select CRC32 |
diff --git a/fs/nls/Kconfig b/fs/nls/Kconfig index e2ce79ef48c4..5a63303298e6 100644 --- a/fs/nls/Kconfig +++ b/fs/nls/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Native language support configuration | 3 | # Native language support configuration |
| 3 | # | 4 | # |
diff --git a/fs/notify/Kconfig b/fs/notify/Kconfig index 2a24249b30af..c020d26ba223 100644 --- a/fs/notify/Kconfig +++ b/fs/notify/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FSNOTIFY | 2 | config FSNOTIFY |
| 2 | def_bool n | 3 | def_bool n |
| 3 | select SRCU | 4 | select SRCU |
diff --git a/fs/notify/dnotify/Kconfig b/fs/notify/dnotify/Kconfig index f9c1ca139d8f..3df7def17eea 100644 --- a/fs/notify/dnotify/Kconfig +++ b/fs/notify/dnotify/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config DNOTIFY | 2 | config DNOTIFY |
| 2 | bool "Dnotify support" | 3 | bool "Dnotify support" |
| 3 | select FSNOTIFY | 4 | select FSNOTIFY |
diff --git a/fs/notify/dnotify/Makefile b/fs/notify/dnotify/Makefile index f145251dcadb..121b4dd6b1fe 100644 --- a/fs/notify/dnotify/Makefile +++ b/fs/notify/dnotify/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_DNOTIFY) += dnotify.o | 2 | obj-$(CONFIG_DNOTIFY) += dnotify.o |
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c index 250369d6901d..c03758c91481 100644 --- a/fs/notify/dnotify/dnotify.c +++ b/fs/notify/dnotify/dnotify.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Directory notifications for Linux. | 3 | * Directory notifications for Linux. |
| 3 | * | 4 | * |
| @@ -5,16 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> | 7 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> |
| 7 | * dnotify was largly rewritten to use the new fsnotify infrastructure | 8 | * dnotify was largly rewritten to use the new fsnotify infrastructure |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License as published by the | ||
| 11 | * Free Software Foundation; either version 2, or (at your option) any | ||
| 12 | * later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, but | ||
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 17 | * General Public License for more details. | ||
| 18 | */ | 9 | */ |
| 19 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
| 20 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/fs/notify/fanotify/Kconfig b/fs/notify/fanotify/Kconfig index 521dc91d2cb5..8b9103f126ad 100644 --- a/fs/notify/fanotify/Kconfig +++ b/fs/notify/fanotify/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FANOTIFY | 2 | config FANOTIFY |
| 2 | bool "Filesystem wide access notification" | 3 | bool "Filesystem wide access notification" |
| 3 | select FSNOTIFY | 4 | select FSNOTIFY |
diff --git a/fs/notify/fanotify/Makefile b/fs/notify/fanotify/Makefile index 0999213e7e6e..25ef222915e5 100644 --- a/fs/notify/fanotify/Makefile +++ b/fs/notify/fanotify/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_FANOTIFY) += fanotify.o fanotify_user.o | 2 | obj-$(CONFIG_FANOTIFY) += fanotify.o fanotify_user.o |
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index 8c7cbac7183c..4eb2ebfac468 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c | |||
| @@ -1,19 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> | 3 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 7 | * any later version. | ||
| 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 | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; see the file COPYING. If not, write to | ||
| 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 17 | */ | 4 | */ |
| 18 | 5 | ||
| 19 | #include <linux/dcache.h> | 6 | #include <linux/dcache.h> |
diff --git a/fs/notify/group.c b/fs/notify/group.c index c03b83662876..0391190305cc 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c | |||
| @@ -1,19 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> | 3 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 7 | * any later version. | ||
| 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 | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; see the file COPYING. If not, write to | ||
| 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 17 | */ | 4 | */ |
| 18 | 5 | ||
| 19 | #include <linux/list.h> | 6 | #include <linux/list.h> |
diff --git a/fs/notify/inotify/Kconfig b/fs/notify/inotify/Kconfig index 0161c74e76e2..6736e47d94d8 100644 --- a/fs/notify/inotify/Kconfig +++ b/fs/notify/inotify/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config INOTIFY_USER | 2 | config INOTIFY_USER |
| 2 | bool "Inotify support for userspace" | 3 | bool "Inotify support for userspace" |
| 3 | select FSNOTIFY | 4 | select FSNOTIFY |
diff --git a/fs/notify/inotify/Makefile b/fs/notify/inotify/Makefile index a380dabe09de..812237eecf3a 100644 --- a/fs/notify/inotify/Makefile +++ b/fs/notify/inotify/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o | 2 | obj-$(CONFIG_INOTIFY_USER) += inotify_fsnotify.o inotify_user.o |
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index 7e8b131029f8..2fda08b2b885 100644 --- a/fs/notify/inotify/inotify_fsnotify.c +++ b/fs/notify/inotify/inotify_fsnotify.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * fs/inotify_user.c - inotify support for userspace | 3 | * fs/inotify_user.c - inotify support for userspace |
| 3 | * | 4 | * |
| @@ -10,16 +11,6 @@ | |||
| 10 | * | 11 | * |
| 11 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> | 12 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> |
| 12 | * inotify was largely rewriten to make use of the fsnotify infrastructure | 13 | * inotify was largely rewriten to make use of the fsnotify infrastructure |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify it | ||
| 15 | * under the terms of the GNU General Public License as published by the | ||
| 16 | * Free Software Foundation; either version 2, or (at your option) any | ||
| 17 | * later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, but | ||
| 20 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 22 | * General Public License for more details. | ||
| 23 | */ | 14 | */ |
| 24 | 15 | ||
| 25 | #include <linux/dcache.h> /* d_unlinked */ | 16 | #include <linux/dcache.h> /* d_unlinked */ |
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 7b53598c8804..cce8de32779f 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * fs/inotify_user.c - inotify support for userspace | 3 | * fs/inotify_user.c - inotify support for userspace |
| 3 | * | 4 | * |
| @@ -10,16 +11,6 @@ | |||
| 10 | * | 11 | * |
| 11 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> | 12 | * Copyright (C) 2009 Eric Paris <Red Hat Inc> |
| 12 | * inotify was largely rewriten to make use of the fsnotify infrastructure | 13 | * inotify was largely rewriten to make use of the fsnotify infrastructure |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify it | ||
| 15 | * under the terms of the GNU General Public License as published by the | ||
| 16 | * Free Software Foundation; either version 2, or (at your option) any | ||
| 17 | * later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, but | ||
| 20 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 22 | * General Public License for more details. | ||
| 23 | */ | 14 | */ |
| 24 | 15 | ||
| 25 | #include <linux/file.h> | 16 | #include <linux/file.h> |
diff --git a/fs/notify/mark.c b/fs/notify/mark.c index b251105f646f..25eb247ea85a 100644 --- a/fs/notify/mark.c +++ b/fs/notify/mark.c | |||
| @@ -1,19 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> | 3 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 7 | * any later version. | ||
| 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 | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; see the file COPYING. If not, write to | ||
| 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 17 | */ | 4 | */ |
| 18 | 5 | ||
| 19 | /* | 6 | /* |
diff --git a/fs/notify/notification.c b/fs/notify/notification.c index 5f3a54d444b5..75d79d6d3ef0 100644 --- a/fs/notify/notification.c +++ b/fs/notify/notification.c | |||
| @@ -1,19 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> | 3 | * Copyright (C) 2008 Red Hat, Inc., Eric Paris <eparis@redhat.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 7 | * any later version. | ||
| 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 | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program; see the file COPYING. If not, write to | ||
| 16 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 17 | */ | 4 | */ |
| 18 | 5 | ||
| 19 | /* | 6 | /* |
diff --git a/fs/ntfs/Kconfig b/fs/ntfs/Kconfig index f5a868cc9152..de9fb5cff226 100644 --- a/fs/ntfs/Kconfig +++ b/fs/ntfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NTFS_FS | 2 | config NTFS_FS |
| 2 | tristate "NTFS file system support" | 3 | tristate "NTFS file system support" |
| 3 | select NLS | 4 | select NLS |
diff --git a/fs/ntfs/aops.c b/fs/ntfs/aops.c index 8946130c87ad..7202a1e39d70 100644 --- a/fs/ntfs/aops.c +++ b/fs/ntfs/aops.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * aops.c - NTFS kernel address space operations and page cache handling. | 3 | * aops.c - NTFS kernel address space operations and page cache handling. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. |
| 5 | * Copyright (c) 2002 Richard Russon | 6 | * Copyright (c) 2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include <linux/errno.h> | 9 | #include <linux/errno.h> |
diff --git a/fs/ntfs/aops.h b/fs/ntfs/aops.h index 820d6eabf60f..f0962d46bd67 100644 --- a/fs/ntfs/aops.h +++ b/fs/ntfs/aops.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /** | 2 | /** |
| 2 | * aops.h - Defines for NTFS kernel address space operations and page cache | 3 | * aops.h - Defines for NTFS kernel address space operations and page cache |
| 3 | * handling. Part of the Linux-NTFS project. | 4 | * handling. Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2004 Anton Altaparmakov | 6 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_AOPS_H | 10 | #ifndef _LINUX_NTFS_AOPS_H |
diff --git a/fs/ntfs/attrib.c b/fs/ntfs/attrib.c index 44a39a099b54..d563abc3e136 100644 --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. | 3 | * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. |
| 5 | * Copyright (c) 2002 Richard Russon | 6 | * Copyright (c) 2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include <linux/buffer_head.h> | 9 | #include <linux/buffer_head.h> |
diff --git a/fs/ntfs/attrib.h b/fs/ntfs/attrib.h index 3c8b74c99b80..fe0890d3d072 100644 --- a/fs/ntfs/attrib.h +++ b/fs/ntfs/attrib.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * attrib.h - Defines for attribute handling in NTFS Linux kernel driver. | 3 | * attrib.h - Defines for attribute handling in NTFS Linux kernel driver. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2005 Anton Altaparmakov | 6 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_ATTRIB_H | 10 | #ifndef _LINUX_NTFS_ATTRIB_H |
diff --git a/fs/ntfs/bitmap.c b/fs/ntfs/bitmap.c index ec130c588d2b..0675b2400873 100644 --- a/fs/ntfs/bitmap.c +++ b/fs/ntfs/bitmap.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project. | 3 | * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2004-2005 Anton Altaparmakov | 5 | * Copyright (c) 2004-2005 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifdef NTFS_RW | 8 | #ifdef NTFS_RW |
diff --git a/fs/ntfs/bitmap.h b/fs/ntfs/bitmap.h index 72c9ad8be70d..9dd2224ca9c4 100644 --- a/fs/ntfs/bitmap.h +++ b/fs/ntfs/bitmap.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS | 3 | * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS |
| 3 | * project. | 4 | * project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004 Anton Altaparmakov | 6 | * Copyright (c) 2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_BITMAP_H | 9 | #ifndef _LINUX_NTFS_BITMAP_H |
diff --git a/fs/ntfs/collate.c b/fs/ntfs/collate.c index 4a28ab3898ef..3ab6ec96abfe 100644 --- a/fs/ntfs/collate.c +++ b/fs/ntfs/collate.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project. | 3 | * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2004 Anton Altaparmakov | 5 | * Copyright (c) 2004 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #include "collate.h" | 8 | #include "collate.h" |
diff --git a/fs/ntfs/collate.h b/fs/ntfs/collate.h index aba83347e5fe..f2255619b4f4 100644 --- a/fs/ntfs/collate.h +++ b/fs/ntfs/collate.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * collate.h - Defines for NTFS kernel collation handling. Part of the | 3 | * collate.h - Defines for NTFS kernel collation handling. Part of the |
| 3 | * Linux-NTFS project. | 4 | * Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004 Anton Altaparmakov | 6 | * Copyright (c) 2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_COLLATE_H | 9 | #ifndef _LINUX_NTFS_COLLATE_H |
diff --git a/fs/ntfs/compress.c b/fs/ntfs/compress.c index df7c32b5fac7..d2f9d6a0ee32 100644 --- a/fs/ntfs/compress.c +++ b/fs/ntfs/compress.c | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * compress.c - NTFS kernel compressed attributes handling. | 3 | * compress.c - NTFS kernel compressed attributes handling. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2004 Anton Altaparmakov | 6 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
diff --git a/fs/ntfs/debug.c b/fs/ntfs/debug.c index 825a54e8f490..a3c1c5656f8f 100644 --- a/fs/ntfs/debug.c +++ b/fs/ntfs/debug.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project. | 3 | * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2004 Anton Altaparmakov | 5 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 22 | #include "debug.h" | 8 | #include "debug.h" |
diff --git a/fs/ntfs/debug.h b/fs/ntfs/debug.h index 61bf091e32a8..6fdef388f129 100644 --- a/fs/ntfs/debug.h +++ b/fs/ntfs/debug.h | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project. | 3 | * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2004 Anton Altaparmakov | 5 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifndef _LINUX_NTFS_DEBUG_H | 8 | #ifndef _LINUX_NTFS_DEBUG_H |
diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c index 1a24be9e8405..3c4811469ae8 100644 --- a/fs/ntfs/dir.c +++ b/fs/ntfs/dir.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. | 3 | * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2007 Anton Altaparmakov | 5 | * Copyright (c) 2001-2007 Anton Altaparmakov |
| 5 | * Copyright (c) 2002 Richard Russon | 6 | * Copyright (c) 2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include <linux/buffer_head.h> | 9 | #include <linux/buffer_head.h> |
diff --git a/fs/ntfs/dir.h b/fs/ntfs/dir.h index aea7582d561f..0e326753df40 100644 --- a/fs/ntfs/dir.h +++ b/fs/ntfs/dir.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of | 3 | * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of |
| 3 | * the Linux-NTFS project. | 4 | * the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2002-2004 Anton Altaparmakov | 6 | * Copyright (c) 2002-2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_DIR_H | 9 | #ifndef _LINUX_NTFS_DIR_H |
diff --git a/fs/ntfs/endian.h b/fs/ntfs/endian.h index 927b5bf04b4f..f30c139bf9ae 100644 --- a/fs/ntfs/endian.h +++ b/fs/ntfs/endian.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * endian.h - Defines for endianness handling in NTFS Linux kernel driver. | 3 | * endian.h - Defines for endianness handling in NTFS Linux kernel driver. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2004 Anton Altaparmakov | 6 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_ENDIAN_H | 9 | #ifndef _LINUX_NTFS_ENDIAN_H |
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 331910fa8442..f42967b738eb 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * file.c - NTFS kernel file operations. Part of the Linux-NTFS project. | 3 | * file.c - NTFS kernel file operations. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc. |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #include <linux/backing-dev.h> | 8 | #include <linux/backing-dev.h> |
diff --git a/fs/ntfs/index.c b/fs/ntfs/index.c index 0d645f357930..d46c2c03a032 100644 --- a/fs/ntfs/index.c +++ b/fs/ntfs/index.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * index.c - NTFS kernel index handling. Part of the Linux-NTFS project. | 3 | * index.c - NTFS kernel index handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2004-2005 Anton Altaparmakov | 5 | * Copyright (c) 2004-2005 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/fs/ntfs/index.h b/fs/ntfs/index.h index 8745469c3989..bb3c3ae55138 100644 --- a/fs/ntfs/index.h +++ b/fs/ntfs/index.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS | 3 | * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS |
| 3 | * project. | 4 | * project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004 Anton Altaparmakov | 6 | * Copyright (c) 2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_INDEX_H | 9 | #ifndef _LINUX_NTFS_INDEX_H |
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index fb1a2b49a5da..8baa34baf548 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * inode.c - NTFS kernel inode handling. | 3 | * inode.c - NTFS kernel inode handling. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #include <linux/buffer_head.h> | 8 | #include <linux/buffer_head.h> |
diff --git a/fs/ntfs/inode.h b/fs/ntfs/inode.h index 58c8fd2948d3..98e670fbdd31 100644 --- a/fs/ntfs/inode.h +++ b/fs/ntfs/inode.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of | 3 | * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of |
| 3 | * the Linux-NTFS project. | 4 | * the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2007 Anton Altaparmakov | 6 | * Copyright (c) 2001-2007 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_INODE_H | 10 | #ifndef _LINUX_NTFS_INODE_H |
diff --git a/fs/ntfs/layout.h b/fs/ntfs/layout.h index 809c0e6d8e09..85422761ff43 100644 --- a/fs/ntfs/layout.h +++ b/fs/ntfs/layout.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS | 3 | * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS |
| 3 | * project. | 4 | * project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2005 Anton Altaparmakov | 6 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_LAYOUT_H | 10 | #ifndef _LINUX_NTFS_LAYOUT_H |
diff --git a/fs/ntfs/lcnalloc.c b/fs/ntfs/lcnalloc.c index 27a24a42f712..eda9972e6159 100644 --- a/fs/ntfs/lcnalloc.c +++ b/fs/ntfs/lcnalloc.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project. | 3 | * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2004-2005 Anton Altaparmakov | 5 | * Copyright (c) 2004-2005 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifdef NTFS_RW | 8 | #ifdef NTFS_RW |
diff --git a/fs/ntfs/lcnalloc.h b/fs/ntfs/lcnalloc.h index 2adb04316941..1589a6d8434b 100644 --- a/fs/ntfs/lcnalloc.h +++ b/fs/ntfs/lcnalloc.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the | 3 | * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the |
| 3 | * Linux-NTFS project. | 4 | * Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004-2005 Anton Altaparmakov | 6 | * Copyright (c) 2004-2005 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_LCNALLOC_H | 9 | #ifndef _LINUX_NTFS_LCNALLOC_H |
diff --git a/fs/ntfs/logfile.c b/fs/ntfs/logfile.c index 353379ff6057..a0c40f1be7ac 100644 --- a/fs/ntfs/logfile.c +++ b/fs/ntfs/logfile.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project. | 3 | * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002-2007 Anton Altaparmakov | 5 | * Copyright (c) 2002-2007 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifdef NTFS_RW | 8 | #ifdef NTFS_RW |
diff --git a/fs/ntfs/logfile.h b/fs/ntfs/logfile.h index aa2b6ac3f0a4..429d4909cc72 100644 --- a/fs/ntfs/logfile.h +++ b/fs/ntfs/logfile.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of | 3 | * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of |
| 3 | * the Linux-NTFS project. | 4 | * the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2000-2005 Anton Altaparmakov | 6 | * Copyright (c) 2000-2005 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_LOGFILE_H | 9 | #ifndef _LINUX_NTFS_LOGFILE_H |
diff --git a/fs/ntfs/malloc.h b/fs/ntfs/malloc.h index 5becc8acc8f4..842b0bfc3ac9 100644 --- a/fs/ntfs/malloc.h +++ b/fs/ntfs/malloc.h | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project. | 3 | * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2005 Anton Altaparmakov | 5 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifndef _LINUX_NTFS_MALLOC_H | 8 | #ifndef _LINUX_NTFS_MALLOC_H |
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index fb14d17666c8..20c841a906f2 100644 --- a/fs/ntfs/mft.c +++ b/fs/ntfs/mft.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. | 3 | * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. |
| 5 | * Copyright (c) 2002 Richard Russon | 6 | * Copyright (c) 2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include <linux/buffer_head.h> | 9 | #include <linux/buffer_head.h> |
diff --git a/fs/ntfs/mft.h b/fs/ntfs/mft.h index b52bf87b99de..17bfefc30271 100644 --- a/fs/ntfs/mft.h +++ b/fs/ntfs/mft.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * mft.h - Defines for mft record handling in NTFS Linux kernel driver. | 3 | * mft.h - Defines for mft record handling in NTFS Linux kernel driver. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2004 Anton Altaparmakov | 6 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_MFT_H | 9 | #ifndef _LINUX_NTFS_MFT_H |
diff --git a/fs/ntfs/mst.c b/fs/ntfs/mst.c index 5a858d839b65..16b3c884abfc 100644 --- a/fs/ntfs/mst.c +++ b/fs/ntfs/mst.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * mst.c - NTFS multi sector transfer protection handling code. Part of the | 3 | * mst.c - NTFS multi sector transfer protection handling code. Part of the |
| 3 | * Linux-NTFS project. | 4 | * Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2004 Anton Altaparmakov | 6 | * Copyright (c) 2001-2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include "ntfs.h" | 9 | #include "ntfs.h" |
diff --git a/fs/ntfs/namei.c b/fs/ntfs/namei.c index 3986c7a1f6a8..2d3cc9e3395d 100644 --- a/fs/ntfs/namei.c +++ b/fs/ntfs/namei.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS | 3 | * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS |
| 3 | * project. | 4 | * project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2006 Anton Altaparmakov | 6 | * Copyright (c) 2001-2006 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include <linux/dcache.h> | 9 | #include <linux/dcache.h> |
diff --git a/fs/ntfs/ntfs.h b/fs/ntfs/ntfs.h index 12de47b96ca9..e81376ea9152 100644 --- a/fs/ntfs/ntfs.h +++ b/fs/ntfs/ntfs.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * ntfs.h - Defines for NTFS Linux kernel driver. | 3 | * ntfs.h - Defines for NTFS Linux kernel driver. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. |
| 5 | * Copyright (C) 2002 Richard Russon | 6 | * Copyright (C) 2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_H | 9 | #ifndef _LINUX_NTFS_H |
diff --git a/fs/ntfs/quota.c b/fs/ntfs/quota.c index 9793e68ba1dd..9160480222fd 100644 --- a/fs/ntfs/quota.c +++ b/fs/ntfs/quota.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS | 3 | * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS |
| 3 | * project. | 4 | * project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004 Anton Altaparmakov | 6 | * Copyright (c) 2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifdef NTFS_RW | 9 | #ifdef NTFS_RW |
diff --git a/fs/ntfs/quota.h b/fs/ntfs/quota.h index 4cbe5594c0b0..fe3132a3d6d2 100644 --- a/fs/ntfs/quota.h +++ b/fs/ntfs/quota.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the | 3 | * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the |
| 3 | * Linux-NTFS project. | 4 | * Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2004 Anton Altaparmakov | 6 | * Copyright (c) 2004 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_QUOTA_H | 9 | #ifndef _LINUX_NTFS_QUOTA_H |
diff --git a/fs/ntfs/runlist.c b/fs/ntfs/runlist.c index eac7d6788a10..508744a93180 100644 --- a/fs/ntfs/runlist.c +++ b/fs/ntfs/runlist.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /** | 2 | /** |
| 2 | * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project. | 3 | * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2007 Anton Altaparmakov | 5 | * Copyright (c) 2001-2007 Anton Altaparmakov |
| 5 | * Copyright (c) 2002-2005 Richard Russon | 6 | * Copyright (c) 2002-2005 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #include "debug.h" | 9 | #include "debug.h" |
diff --git a/fs/ntfs/runlist.h b/fs/ntfs/runlist.h index 47728fbb610b..38de0a375f59 100644 --- a/fs/ntfs/runlist.h +++ b/fs/ntfs/runlist.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * runlist.h - Defines for runlist handling in NTFS Linux kernel driver. | 3 | * runlist.h - Defines for runlist handling in NTFS Linux kernel driver. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2005 Anton Altaparmakov | 6 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_RUNLIST_H | 10 | #ifndef _LINUX_NTFS_RUNLIST_H |
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 887ea8b3b000..29621d40f448 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project. | 3 | * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. | 5 | * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. |
| 5 | * Copyright (c) 2001,2002 Richard Russon | 6 | * Copyright (c) 2001,2002 Richard Russon |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 23 | 9 | ||
diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c index a503156ec15f..a030d00af90c 100644 --- a/fs/ntfs/sysctl.c +++ b/fs/ntfs/sysctl.c | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of | 3 | * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of |
| 3 | * the Linux-NTFS project. Adapted from the old NTFS driver, | 4 | * the Linux-NTFS project. Adapted from the old NTFS driver, |
| 4 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne | 5 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne |
| 5 | * | 6 | * |
| 6 | * Copyright (c) 2002-2005 Anton Altaparmakov | 7 | * Copyright (c) 2002-2005 Anton Altaparmakov |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifdef DEBUG | 10 | #ifdef DEBUG |
diff --git a/fs/ntfs/sysctl.h b/fs/ntfs/sysctl.h index d4f8ce920d95..96bb2299d2d5 100644 --- a/fs/ntfs/sysctl.h +++ b/fs/ntfs/sysctl.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of | 3 | * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of |
| 3 | * the Linux-NTFS project. Adapted from the old NTFS driver, | 4 | * the Linux-NTFS project. Adapted from the old NTFS driver, |
| 4 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne | 5 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne |
| 5 | * | 6 | * |
| 6 | * Copyright (c) 2002-2004 Anton Altaparmakov | 7 | * Copyright (c) 2002-2004 Anton Altaparmakov |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_SYSCTL_H | 10 | #ifndef _LINUX_NTFS_SYSCTL_H |
diff --git a/fs/ntfs/time.h b/fs/ntfs/time.h index 24cd719f1fd2..6b63261300cc 100644 --- a/fs/ntfs/time.h +++ b/fs/ntfs/time.h | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. | 3 | * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2005 Anton Altaparmakov | 5 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #ifndef _LINUX_NTFS_TIME_H | 8 | #ifndef _LINUX_NTFS_TIME_H |
diff --git a/fs/ntfs/types.h b/fs/ntfs/types.h index 8c8053b66984..9a47859e7a06 100644 --- a/fs/ntfs/types.h +++ b/fs/ntfs/types.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * types.h - Defines for NTFS Linux kernel driver specific types. | 3 | * types.h - Defines for NTFS Linux kernel driver specific types. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2005 Anton Altaparmakov | 6 | * Copyright (c) 2001-2005 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_TYPES_H | 9 | #ifndef _LINUX_NTFS_TYPES_H |
diff --git a/fs/ntfs/unistr.c b/fs/ntfs/unistr.c index 005ca4b0f132..a6b6c64f14a9 100644 --- a/fs/ntfs/unistr.c +++ b/fs/ntfs/unistr.c | |||
| @@ -1,22 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project. | 3 | * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2001-2006 Anton Altaparmakov | 5 | * Copyright (c) 2001-2006 Anton Altaparmakov |
| 5 | * | ||
| 6 | * This program/include file is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License as published | ||
| 8 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program/include file is distributed in the hope that it will be | ||
| 12 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 13 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program (in the main directory of the Linux-NTFS | ||
| 18 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 19 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | */ | 6 | */ |
| 21 | 7 | ||
| 22 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/fs/ntfs/upcase.c b/fs/ntfs/upcase.c index e2f72ca98037..4ebe84a78dea 100644 --- a/fs/ntfs/upcase.c +++ b/fs/ntfs/upcase.c | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * upcase.c - Generate the full NTFS Unicode upcase table in little endian. | 3 | * upcase.c - Generate the full NTFS Unicode upcase table in little endian. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001 Richard Russon <ntfs@flatcap.org> | 6 | * Copyright (c) 2001 Richard Russon <ntfs@flatcap.org> |
| 6 | * Copyright (c) 2001-2006 Anton Altaparmakov | 7 | * Copyright (c) 2001-2006 Anton Altaparmakov |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the Free | ||
| 10 | * Software Foundation; either version 2 of the License, or (at your option) | ||
| 11 | * any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS source | ||
| 20 | * in the file COPYING); if not, write to the Free Software Foundation, | ||
| 21 | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #include "malloc.h" | 10 | #include "malloc.h" |
diff --git a/fs/ntfs/usnjrnl.c b/fs/ntfs/usnjrnl.c index b2bc0d55b036..9097a0b4ef25 100644 --- a/fs/ntfs/usnjrnl.c +++ b/fs/ntfs/usnjrnl.c | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the | 3 | * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the |
| 3 | * Linux-NTFS project. | 4 | * Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2005 Anton Altaparmakov | 6 | * Copyright (c) 2005 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifdef NTFS_RW | 9 | #ifdef NTFS_RW |
diff --git a/fs/ntfs/usnjrnl.h b/fs/ntfs/usnjrnl.h index 00d8e6bd7c36..85f531b59395 100644 --- a/fs/ntfs/usnjrnl.h +++ b/fs/ntfs/usnjrnl.h | |||
| @@ -1,23 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling. | 3 | * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling. |
| 3 | * Part of the Linux-NTFS project. | 4 | * Part of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2005 Anton Altaparmakov | 6 | * Copyright (c) 2005 Anton Altaparmakov |
| 6 | * | ||
| 7 | * This program/include file is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License as published | ||
| 9 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program/include file is distributed in the hope that it will be | ||
| 13 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program (in the main directory of the Linux-NTFS | ||
| 19 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 20 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 21 | */ | 7 | */ |
| 22 | 8 | ||
| 23 | #ifndef _LINUX_NTFS_USNJRNL_H | 9 | #ifndef _LINUX_NTFS_USNJRNL_H |
diff --git a/fs/ntfs/volume.h b/fs/ntfs/volume.h index 4f579b02bc76..930a9ae8a053 100644 --- a/fs/ntfs/volume.h +++ b/fs/ntfs/volume.h | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part | 3 | * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part |
| 3 | * of the Linux-NTFS project. | 4 | * of the Linux-NTFS project. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2001-2006 Anton Altaparmakov | 6 | * Copyright (c) 2001-2006 Anton Altaparmakov |
| 6 | * Copyright (c) 2002 Richard Russon | 7 | * Copyright (c) 2002 Richard Russon |
| 7 | * | ||
| 8 | * This program/include file is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as published | ||
| 10 | * by the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program/include file is distributed in the hope that it will be | ||
| 14 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| 15 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program (in the main directory of the Linux-NTFS | ||
| 20 | * distribution in the file COPYING); if not, write to the Free Software | ||
| 21 | * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #ifndef _LINUX_NTFS_VOLUME_H | 10 | #ifndef _LINUX_NTFS_VOLUME_H |
diff --git a/fs/ocfs2/Kconfig b/fs/ocfs2/Kconfig index 77a8de5f7119..46bba20da6b5 100644 --- a/fs/ocfs2/Kconfig +++ b/fs/ocfs2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config OCFS2_FS | 2 | config OCFS2_FS |
| 2 | tristate "OCFS2 file system support" | 3 | tristate "OCFS2 file system support" |
| 3 | depends on NET && SYSFS && CONFIGFS_FS | 4 | depends on NET && SYSFS && CONFIGFS_FS |
diff --git a/fs/ocfs2/cluster/Makefile b/fs/ocfs2/cluster/Makefile index 1aefc0350ec3..0e5b73215819 100644 --- a/fs/ocfs2/cluster/Makefile +++ b/fs/ocfs2/cluster/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o | 2 | obj-$(CONFIG_OCFS2_FS) += ocfs2_nodemanager.o |
| 2 | 3 | ||
| 3 | ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \ | 4 | ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \ |
diff --git a/fs/ocfs2/dlm/Makefile b/fs/ocfs2/dlm/Makefile index 3d4041f0431e..38b224372776 100644 --- a/fs/ocfs2/dlm/Makefile +++ b/fs/ocfs2/dlm/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | ccflags-y := -I $(srctree)/$(src)/.. | 2 | ccflags-y := -I $(srctree)/$(src)/.. |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o | 4 | obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o |
diff --git a/fs/ocfs2/dlmfs/Makefile b/fs/ocfs2/dlmfs/Makefile index 0a0b93d940fe..a9874e441bd4 100644 --- a/fs/ocfs2/dlmfs/Makefile +++ b/fs/ocfs2/dlmfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | ccflags-y := -I $(srctree)/$(src)/.. | 2 | ccflags-y := -I $(srctree)/$(src)/.. |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o | 4 | obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o |
diff --git a/fs/omfs/Kconfig b/fs/omfs/Kconfig index b1b9a0aba6fd..42b2ec35a05b 100644 --- a/fs/omfs/Kconfig +++ b/fs/omfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config OMFS_FS | 2 | config OMFS_FS |
| 2 | tristate "SonicBlue Optimized MPEG File System support" | 3 | tristate "SonicBlue Optimized MPEG File System support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/omfs/Makefile b/fs/omfs/Makefile index 8b82b63f1129..ae16fc3d34a3 100644 --- a/fs/omfs/Makefile +++ b/fs/omfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | obj-$(CONFIG_OMFS_FS) += omfs.o | 3 | obj-$(CONFIG_OMFS_FS) += omfs.o |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/open.c | 3 | * linux/fs/open.c |
| 3 | * | 4 | * |
diff --git a/fs/openpromfs/Makefile b/fs/openpromfs/Makefile index 4563199b8fe6..843c270cd06f 100644 --- a/fs/openpromfs/Makefile +++ b/fs/openpromfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux Sun Openprom filesystem routines. | 3 | # Makefile for the Linux Sun Openprom filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index 46655e454c55..e6cb7689fec4 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* inode.c: /proc/openprom handling routines | 2 | /* inode.c: /proc/openprom handling routines |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 1996-1999 Jakub Jelinek (jakub@redhat.com) | 4 | * Copyright (C) 1996-1999 Jakub Jelinek (jakub@redhat.com) |
diff --git a/fs/orangefs/Kconfig b/fs/orangefs/Kconfig index 1554c02489de..890c0ae9a453 100644 --- a/fs/orangefs/Kconfig +++ b/fs/orangefs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ORANGEFS_FS | 2 | config ORANGEFS_FS |
| 2 | tristate "ORANGEFS (Powered by PVFS) support" | 3 | tristate "ORANGEFS (Powered by PVFS) support" |
| 3 | select FS_POSIX_ACL | 4 | select FS_POSIX_ACL |
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index 82cf8b3e568b..4f2d7ee0d2d1 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2001 Clemson University and The University of Chicago | 3 | * (C) 2001 Clemson University and The University of Chicago |
| 3 | * | 4 | * |
diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig index 2ef91be2a04e..444e2da4f60e 100644 --- a/fs/overlayfs/Kconfig +++ b/fs/overlayfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config OVERLAY_FS | 2 | config OVERLAY_FS |
| 2 | tristate "Overlay filesystem support" | 3 | tristate "Overlay filesystem support" |
| 3 | select EXPORTFS | 4 | select EXPORTFS |
diff --git a/fs/overlayfs/Makefile b/fs/overlayfs/Makefile index 46e1ff8ac056..9164c585eb2f 100644 --- a/fs/overlayfs/Makefile +++ b/fs/overlayfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the overlay filesystem. | 3 | # Makefile for the overlay filesystem. |
| 3 | # | 4 | # |
diff --git a/fs/posix_acl.c b/fs/posix_acl.c index 2fd0fde16fe1..84ad1c90d535 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2002,2003 by Andreas Gruenbacher <a.gruenbacher@computer.org> | 3 | * Copyright (C) 2002,2003 by Andreas Gruenbacher <a.gruenbacher@computer.org> |
| 3 | * | 4 | * |
diff --git a/fs/proc/Kconfig b/fs/proc/Kconfig index 817c02b13b1d..62ee41b4bbd0 100644 --- a/fs/proc/Kconfig +++ b/fs/proc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config PROC_FS | 2 | config PROC_FS |
| 2 | bool "/proc file system support" if EXPERT | 3 | bool "/proc file system support" if EXPERT |
| 3 | default y | 4 | default y |
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index e39bac94dead..64e9ee1b129e 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * proc/fs/generic.c --- generic routines for the proc-fs | 3 | * proc/fs/generic.c --- generic routines for the proc-fs |
| 3 | * | 4 | * |
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index a7b12435519e..76ae278df1c4 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/proc/net.c | 3 | * linux/fs/proc/net.c |
| 3 | * | 4 | * |
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 3fe90443c1bb..7bb96fdd38ad 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fs/proc/vmcore.c Interface for accessing the crash | 3 | * fs/proc/vmcore.c Interface for accessing the crash |
| 3 | * dump from the system's previous life. | 4 | * dump from the system's previous life. |
diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index 0d19d191ae70..8f0369aad22a 100644 --- a/fs/pstore/Kconfig +++ b/fs/pstore/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config PSTORE | 2 | config PSTORE |
| 2 | tristate "Persistent store support" | 3 | tristate "Persistent store support" |
| 3 | select CRYPTO if PSTORE_COMPRESS | 4 | select CRYPTO if PSTORE_COMPRESS |
diff --git a/fs/qnx4/Kconfig b/fs/qnx4/Kconfig index 5f6089994042..45b5b98376c4 100644 --- a/fs/qnx4/Kconfig +++ b/fs/qnx4/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config QNX4FS_FS | 2 | config QNX4FS_FS |
| 2 | tristate "QNX4 file system support (read only)" | 3 | tristate "QNX4 file system support (read only)" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/qnx4/Makefile b/fs/qnx4/Makefile index 4a283b3f87f8..42d4fc263a3d 100644 --- a/fs/qnx4/Makefile +++ b/fs/qnx4/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux qnx4-filesystem routines. | 3 | # Makefile for the linux qnx4-filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c index 48c70aa4a3ec..922d083bbc7c 100644 --- a/fs/qnx4/inode.c +++ b/fs/qnx4/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * QNX4 file system, Linux implementation. | 3 | * QNX4 file system, Linux implementation. |
| 3 | * | 4 | * |
diff --git a/fs/qnx6/Kconfig b/fs/qnx6/Kconfig index edbba5c17cc8..6a9d6bce1586 100644 --- a/fs/qnx6/Kconfig +++ b/fs/qnx6/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config QNX6FS_FS | 2 | config QNX6FS_FS |
| 2 | tristate "QNX6 file system support (read only)" | 3 | tristate "QNX6 file system support (read only)" |
| 3 | depends on BLOCK && CRC32 | 4 | depends on BLOCK && CRC32 |
diff --git a/fs/qnx6/Makefile b/fs/qnx6/Makefile index 5e6bae6fae50..bd4e6c8efbc6 100644 --- a/fs/qnx6/Makefile +++ b/fs/qnx6/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux qnx4-filesystem routines. | 3 | # Makefile for the linux qnx4-filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c index 59cf45f6be49..0f8b0ff1ba43 100644 --- a/fs/qnx6/inode.c +++ b/fs/qnx6/inode.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * QNX6 file system, Linux implementation. | 3 | * QNX6 file system, Linux implementation. |
| 3 | * | 4 | * |
diff --git a/fs/quota/Kconfig b/fs/quota/Kconfig index 4a09975aac90..7218314ca13f 100644 --- a/fs/quota/Kconfig +++ b/fs/quota/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Quota configuration | 3 | # Quota configuration |
| 3 | # | 4 | # |
diff --git a/fs/quota/quota_tree.c b/fs/quota/quota_tree.c index bb3f59bcfcf5..a6f856f341dc 100644 --- a/fs/quota/quota_tree.c +++ b/fs/quota/quota_tree.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * vfsv0 quota IO operations on file | 3 | * vfsv0 quota IO operations on file |
| 3 | */ | 4 | */ |
diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c index 9f2b2573b83c..c740e5572eb8 100644 --- a/fs/quota/quota_v1.c +++ b/fs/quota/quota_v1.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
| 2 | #include <linux/fs.h> | 3 | #include <linux/fs.h> |
| 3 | #include <linux/quota.h> | 4 | #include <linux/quota.h> |
diff --git a/fs/quota/quota_v2.c b/fs/quota/quota_v2.c index 3c30034e733f..53429c29c784 100644 --- a/fs/quota/quota_v2.c +++ b/fs/quota/quota_v2.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * vfsv0 quota IO operations on file | 3 | * vfsv0 quota IO operations on file |
| 3 | */ | 4 | */ |
diff --git a/fs/ramfs/Makefile b/fs/ramfs/Makefile index c71e65dcad25..d1198adb562e 100644 --- a/fs/ramfs/Makefile +++ b/fs/ramfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux ramfs routines. | 3 | # Makefile for the linux ramfs routines. |
| 3 | # | 4 | # |
diff --git a/fs/reiserfs/Kconfig b/fs/reiserfs/Kconfig index 86e71c0caf48..8fd54ed8f844 100644 --- a/fs/reiserfs/Kconfig +++ b/fs/reiserfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config REISERFS_FS | 2 | config REISERFS_FS |
| 2 | tristate "Reiserfs support" | 3 | tristate "Reiserfs support" |
| 3 | select CRC32 | 4 | select CRC32 |
diff --git a/fs/romfs/Kconfig b/fs/romfs/Kconfig index ce2d6bcc6266..ad4c45788896 100644 --- a/fs/romfs/Kconfig +++ b/fs/romfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ROMFS_FS | 2 | config ROMFS_FS |
| 2 | tristate "ROM file system support" | 3 | tristate "ROM file system support" |
| 3 | depends on BLOCK || MTD | 4 | depends on BLOCK || MTD |
diff --git a/fs/splice.c b/fs/splice.c index 25212dcca2df..14cb602d9a2f 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * "splice": joining two ropes together by interweaving their strands. | 3 | * "splice": joining two ropes together by interweaving their strands. |
| 3 | * | 4 | * |
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig index 1adb3346b9d6..916e78fabcaa 100644 --- a/fs/squashfs/Kconfig +++ b/fs/squashfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config SQUASHFS | 2 | config SQUASHFS |
| 2 | tristate "SquashFS 4.0 - Squashed file system support" | 3 | tristate "SquashFS 4.0 - Squashed file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c index f098b9f1c396..4f9b9fb59362 100644 --- a/fs/squashfs/block.c +++ b/fs/squashfs/block.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * block.c | 8 | * block.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/cache.c b/fs/squashfs/cache.c index 0839efa720b3..5062326d0efb 100644 --- a/fs/squashfs/cache.c +++ b/fs/squashfs/cache.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * cache.c | 8 | * cache.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/decompressor.c b/fs/squashfs/decompressor.c index 836639810ea0..d57bef91ab08 100644 --- a/fs/squashfs/decompressor.c +++ b/fs/squashfs/decompressor.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * decompressor.c | 8 | * decompressor.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/decompressor.h b/fs/squashfs/decompressor.h index 0f5a8e4e58da..ec8617523e56 100644 --- a/fs/squashfs/decompressor.h +++ b/fs/squashfs/decompressor.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | #ifndef DECOMPRESSOR_H | 2 | #ifndef DECOMPRESSOR_H |
| 2 | #define DECOMPRESSOR_H | 3 | #define DECOMPRESSOR_H |
| 3 | /* | 4 | /* |
| @@ -6,20 +7,6 @@ | |||
| 6 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 7 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 7 | * Phillip Lougher <phillip@squashfs.org.uk> | 8 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * as published by the Free Software Foundation; either version 2, | ||
| 12 | * or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 22 | * | ||
| 23 | * decompressor.h | 10 | * decompressor.h |
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/fs/squashfs/dir.c b/fs/squashfs/dir.c index a5845f94a2a1..a2ade63eccdf 100644 --- a/fs/squashfs/dir.c +++ b/fs/squashfs/dir.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * dir.c | 8 | * dir.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/export.c b/fs/squashfs/export.c index 8073b6532cf0..ae2c87bb0fbe 100644 --- a/fs/squashfs/export.c +++ b/fs/squashfs/export.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * export.c | 8 | * export.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/file.c b/fs/squashfs/file.c index f1c1430ae721..7b1128398976 100644 --- a/fs/squashfs/file.c +++ b/fs/squashfs/file.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * file.c | 8 | * file.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/fragment.c b/fs/squashfs/fragment.c index 0681feab4a84..49602b9a42e1 100644 --- a/fs/squashfs/fragment.c +++ b/fs/squashfs/fragment.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * fragment.c | 8 | * fragment.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/id.c b/fs/squashfs/id.c index d38ea3dab951..6be5afe7287d 100644 --- a/fs/squashfs/id.c +++ b/fs/squashfs/id.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * id.c | 8 | * id.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c index e9793b1e49a5..24463145b351 100644 --- a/fs/squashfs/inode.c +++ b/fs/squashfs/inode.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * inode.c | 8 | * inode.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/lzo_wrapper.c b/fs/squashfs/lzo_wrapper.c index 934c17e96590..aa3c3dafc33d 100644 --- a/fs/squashfs/lzo_wrapper.c +++ b/fs/squashfs/lzo_wrapper.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2010 LG Electronics | 5 | * Copyright (c) 2010 LG Electronics |
| 5 | * Chan Jeong <chan.jeong@lge.com> | 6 | * Chan Jeong <chan.jeong@lge.com> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * lzo_wrapper.c | 8 | * lzo_wrapper.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/namei.c b/fs/squashfs/namei.c index 40c10d9974c9..11e4539b9eae 100644 --- a/fs/squashfs/namei.c +++ b/fs/squashfs/namei.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * namei.c | 8 | * namei.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h index f89f8a74c6ce..2797763ed046 100644 --- a/fs/squashfs/squashfs.h +++ b/fs/squashfs/squashfs.h | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * squashfs.h | 8 | * squashfs.h |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/squashfs_fs.h b/fs/squashfs/squashfs_fs.h index 4e6853f084d0..7187bd1a30ea 100644 --- a/fs/squashfs/squashfs_fs.h +++ b/fs/squashfs/squashfs_fs.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | #ifndef SQUASHFS_FS | 2 | #ifndef SQUASHFS_FS |
| 2 | #define SQUASHFS_FS | 3 | #define SQUASHFS_FS |
| 3 | /* | 4 | /* |
| @@ -6,20 +7,6 @@ | |||
| 6 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 7 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 7 | * Phillip Lougher <phillip@squashfs.org.uk> | 8 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * as published by the Free Software Foundation; either version 2, | ||
| 12 | * or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 22 | * | ||
| 23 | * squashfs_fs.h | 10 | * squashfs_fs.h |
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/fs/squashfs/squashfs_fs_i.h b/fs/squashfs/squashfs_fs_i.h index d09fcd6fb85d..2c82d6f2a456 100644 --- a/fs/squashfs/squashfs_fs_i.h +++ b/fs/squashfs/squashfs_fs_i.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | #ifndef SQUASHFS_FS_I | 2 | #ifndef SQUASHFS_FS_I |
| 2 | #define SQUASHFS_FS_I | 3 | #define SQUASHFS_FS_I |
| 3 | /* | 4 | /* |
| @@ -6,20 +7,6 @@ | |||
| 6 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 7 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 7 | * Phillip Lougher <phillip@squashfs.org.uk> | 8 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * as published by the Free Software Foundation; either version 2, | ||
| 12 | * or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 22 | * | ||
| 23 | * squashfs_fs_i.h | 10 | * squashfs_fs_i.h |
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/fs/squashfs/squashfs_fs_sb.h b/fs/squashfs/squashfs_fs_sb.h index ef69c31947bf..34c21ffb6df3 100644 --- a/fs/squashfs/squashfs_fs_sb.h +++ b/fs/squashfs/squashfs_fs_sb.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | #ifndef SQUASHFS_FS_SB | 2 | #ifndef SQUASHFS_FS_SB |
| 2 | #define SQUASHFS_FS_SB | 3 | #define SQUASHFS_FS_SB |
| 3 | /* | 4 | /* |
| @@ -6,20 +7,6 @@ | |||
| 6 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 7 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 7 | * Phillip Lougher <phillip@squashfs.org.uk> | 8 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * as published by the Free Software Foundation; either version 2, | ||
| 12 | * or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 22 | * | ||
| 23 | * squashfs_fs_sb.h | 10 | * squashfs_fs_sb.h |
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index 767046d9f65d..effa638d6d85 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * super.c | 8 | * super.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/symlink.c b/fs/squashfs/symlink.c index befeba0fa70a..1430613183e6 100644 --- a/fs/squashfs/symlink.c +++ b/fs/squashfs/symlink.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * symlink.c | 8 | * symlink.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/xattr.c b/fs/squashfs/xattr.c index 1548b3784548..e1e3f3dd5a06 100644 --- a/fs/squashfs/xattr.c +++ b/fs/squashfs/xattr.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2010 | 5 | * Copyright (c) 2010 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * xattr.c | 8 | * xattr.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/xattr.h b/fs/squashfs/xattr.h index afe70f815e3d..184129afd456 100644 --- a/fs/squashfs/xattr.h +++ b/fs/squashfs/xattr.h | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2010 | 5 | * Copyright (c) 2010 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * xattr.h | 8 | * xattr.h |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/xattr_id.c b/fs/squashfs/xattr_id.c index c89607d690c4..d99e08464554 100644 --- a/fs/squashfs/xattr_id.c +++ b/fs/squashfs/xattr_id.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2010 | 5 | * Copyright (c) 2010 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * xattr_id.c | 8 | * xattr_id.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/xz_wrapper.c b/fs/squashfs/xz_wrapper.c index 6bfaef73d065..4b2f2051a6dc 100644 --- a/fs/squashfs/xz_wrapper.c +++ b/fs/squashfs/xz_wrapper.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * xz_wrapper.c | 8 | * xz_wrapper.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/zlib_wrapper.c b/fs/squashfs/zlib_wrapper.c index 2ec24d128bce..f2226afa1625 100644 --- a/fs/squashfs/zlib_wrapper.c +++ b/fs/squashfs/zlib_wrapper.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | * Phillip Lougher <phillip@squashfs.org.uk> | 6 | * Phillip Lougher <phillip@squashfs.org.uk> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 20 | * | ||
| 21 | * zlib_wrapper.c | 8 | * zlib_wrapper.c |
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/fs/squashfs/zstd_wrapper.c b/fs/squashfs/zstd_wrapper.c index eeaabf881159..b448c2a1d0ed 100644 --- a/fs/squashfs/zstd_wrapper.c +++ b/fs/squashfs/zstd_wrapper.c | |||
| @@ -1,19 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Squashfs - a compressed read only filesystem for Linux | 3 | * Squashfs - a compressed read only filesystem for Linux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2016-present, Facebook, Inc. | 5 | * Copyright (c) 2016-present, Facebook, Inc. |
| 5 | * All rights reserved. | 6 | * All rights reserved. |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version 2, | ||
| 10 | * or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * zstd_wrapper.c | 8 | * zstd_wrapper.c |
| 18 | */ | 9 | */ |
| 19 | 10 | ||
diff --git a/fs/stack.c b/fs/stack.c index 664ed35558bd..4ef2c056269d 100644 --- a/fs/stack.c +++ b/fs/stack.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/export.h> | 2 | #include <linux/export.h> |
| 2 | #include <linux/fs.h> | 3 | #include <linux/fs.h> |
| 3 | #include <linux/fs_stack.h> | 4 | #include <linux/fs_stack.h> |
diff --git a/fs/sysfs/Kconfig b/fs/sysfs/Kconfig index b2756014508c..b0fe1cce33a0 100644 --- a/fs/sysfs/Kconfig +++ b/fs/sysfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config SYSFS | 2 | config SYSFS |
| 2 | bool "sysfs file system support" if EXPERT | 3 | bool "sysfs file system support" if EXPERT |
| 3 | default y | 4 | default y |
diff --git a/fs/sysfs/Makefile b/fs/sysfs/Makefile index 6eff6e1205a5..0906b9e522fe 100644 --- a/fs/sysfs/Makefile +++ b/fs/sysfs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the sysfs virtual filesystem | 3 | # Makefile for the sysfs virtual filesystem |
| 3 | # | 4 | # |
diff --git a/fs/sysv/Kconfig b/fs/sysv/Kconfig index 33aeb4b75db1..d4edf7d9ae10 100644 --- a/fs/sysv/Kconfig +++ b/fs/sysv/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config SYSV_FS | 2 | config SYSV_FS |
| 2 | tristate "System V/Xenix/V7/Coherent file system support" | 3 | tristate "System V/Xenix/V7/Coherent file system support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/sysv/Makefile b/fs/sysv/Makefile index 7a75e70a4b61..17d12ba04b18 100644 --- a/fs/sysv/Makefile +++ b/fs/sysv/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux SystemV/Coherent filesystem routines. | 3 | # Makefile for the Linux SystemV/Coherent filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/sysv/super.c b/fs/sysv/super.c index d3b2f54d6449..d788b1daa7eb 100644 --- a/fs/sysv/super.c +++ b/fs/sysv/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/sysv/inode.c | 3 | * linux/fs/sysv/inode.c |
| 3 | * | 4 | * |
diff --git a/fs/tracefs/Makefile b/fs/tracefs/Makefile index 82fa35b656c4..7c35a282b484 100644 --- a/fs/tracefs/Makefile +++ b/fs/tracefs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | tracefs-objs := inode.o | 2 | tracefs-objs := inode.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_TRACING) += tracefs.o | 4 | obj-$(CONFIG_TRACING) += tracefs.o |
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index 9da2f135121b..06c35c64162b 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config UBIFS_FS | 2 | config UBIFS_FS |
| 2 | tristate "UBIFS file system support" | 3 | tristate "UBIFS file system support" |
| 3 | select CRC16 | 4 | select CRC16 |
diff --git a/fs/udf/Kconfig b/fs/udf/Kconfig index aa415054ad0a..6848de581ce1 100644 --- a/fs/udf/Kconfig +++ b/fs/udf/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config UDF_FS | 2 | config UDF_FS |
| 2 | tristate "UDF file system support" | 3 | tristate "UDF file system support" |
| 3 | select CRC_ITU_T | 4 | select CRC_ITU_T |
diff --git a/fs/udf/Makefile b/fs/udf/Makefile index eb880f66c23a..63981cd333e3 100644 --- a/fs/udf/Makefile +++ b/fs/udf/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the linux udf-filesystem routines. | 3 | # Makefile for the linux udf-filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/ufs/Kconfig b/fs/ufs/Kconfig index 0bf6e16f8d79..fcb41516ea59 100644 --- a/fs/ufs/Kconfig +++ b/fs/ufs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config UFS_FS | 2 | config UFS_FS |
| 2 | tristate "UFS file system support (read only)" | 3 | tristate "UFS file system support (read only)" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/ufs/Makefile b/fs/ufs/Makefile index ec4a6b49fa13..042344c85be0 100644 --- a/fs/ufs/Makefile +++ b/fs/ufs/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux ufs filesystem routines. | 3 | # Makefile for the Linux ufs filesystem routines. |
| 3 | # | 4 | # |
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 84c0c5178cd2..3d247c0d92aa 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * linux/fs/ufs/super.c | 3 | * linux/fs/ufs/super.c |
| 3 | * | 4 | * |
diff --git a/fs/unicode/Kconfig b/fs/unicode/Kconfig index b560a879edf7..2c27b9a5cd6c 100644 --- a/fs/unicode/Kconfig +++ b/fs/unicode/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # UTF-8 normalization | 3 | # UTF-8 normalization |
| 3 | # | 4 | # |
diff --git a/fs/xattr.c b/fs/xattr.c index 0d6a6a4af861..90dd78f0eb27 100644 --- a/fs/xattr.c +++ b/fs/xattr.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | File: fs/xattr.c | 3 | File: fs/xattr.c |
| 3 | 4 | ||
diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig index 99af5e5bda9f..e685299eb3d2 100644 --- a/fs/xfs/Kconfig +++ b/fs/xfs/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config XFS_FS | 2 | config XFS_FS |
| 2 | tristate "XFS filesystem support" | 3 | tristate "XFS filesystem support" |
| 3 | depends on BLOCK | 4 | depends on BLOCK |
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c index 1080381ff243..bc2dfacd2f4a 100644 --- a/fs/xfs/libxfs/xfs_ialloc_btree.c +++ b/fs/xfs/libxfs/xfs_ialloc_btree.c | |||
| @@ -549,6 +549,15 @@ xfs_inobt_max_size( | |||
| 549 | if (mp->m_inobt_mxr[0] == 0) | 549 | if (mp->m_inobt_mxr[0] == 0) |
| 550 | return 0; | 550 | return 0; |
| 551 | 551 | ||
| 552 | /* | ||
| 553 | * The log is permanently allocated, so the space it occupies will | ||
| 554 | * never be available for the kinds of things that would require btree | ||
| 555 | * expansion. We therefore can pretend the space isn't there. | ||
| 556 | */ | ||
| 557 | if (mp->m_sb.sb_logstart && | ||
| 558 | XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) | ||
| 559 | agblocks -= mp->m_sb.sb_logblocks; | ||
| 560 | |||
| 552 | return xfs_btree_calc_size(mp->m_inobt_mnr, | 561 | return xfs_btree_calc_size(mp->m_inobt_mnr, |
| 553 | (uint64_t)agblocks * mp->m_sb.sb_inopblock / | 562 | (uint64_t)agblocks * mp->m_sb.sb_inopblock / |
| 554 | XFS_INODES_PER_CHUNK); | 563 | XFS_INODES_PER_CHUNK); |
diff --git a/fs/xfs/libxfs/xfs_refcount_btree.c b/fs/xfs/libxfs/xfs_refcount_btree.c index 6f47ab876d90..5d9de9b21726 100644 --- a/fs/xfs/libxfs/xfs_refcount_btree.c +++ b/fs/xfs/libxfs/xfs_refcount_btree.c | |||
| @@ -427,6 +427,15 @@ xfs_refcountbt_calc_reserves( | |||
| 427 | tree_len = be32_to_cpu(agf->agf_refcount_blocks); | 427 | tree_len = be32_to_cpu(agf->agf_refcount_blocks); |
| 428 | xfs_trans_brelse(tp, agbp); | 428 | xfs_trans_brelse(tp, agbp); |
| 429 | 429 | ||
| 430 | /* | ||
| 431 | * The log is permanently allocated, so the space it occupies will | ||
| 432 | * never be available for the kinds of things that would require btree | ||
| 433 | * expansion. We therefore can pretend the space isn't there. | ||
| 434 | */ | ||
| 435 | if (mp->m_sb.sb_logstart && | ||
| 436 | XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) | ||
| 437 | agblocks -= mp->m_sb.sb_logblocks; | ||
| 438 | |||
| 430 | *ask += xfs_refcountbt_max_size(mp, agblocks); | 439 | *ask += xfs_refcountbt_max_size(mp, agblocks); |
| 431 | *used += tree_len; | 440 | *used += tree_len; |
| 432 | 441 | ||
diff --git a/fs/xfs/libxfs/xfs_rmap_btree.c b/fs/xfs/libxfs/xfs_rmap_btree.c index 5738e11055e6..5d1f8884c888 100644 --- a/fs/xfs/libxfs/xfs_rmap_btree.c +++ b/fs/xfs/libxfs/xfs_rmap_btree.c | |||
| @@ -578,6 +578,15 @@ xfs_rmapbt_calc_reserves( | |||
| 578 | tree_len = be32_to_cpu(agf->agf_rmap_blocks); | 578 | tree_len = be32_to_cpu(agf->agf_rmap_blocks); |
| 579 | xfs_trans_brelse(tp, agbp); | 579 | xfs_trans_brelse(tp, agbp); |
| 580 | 580 | ||
| 581 | /* | ||
| 582 | * The log is permanently allocated, so the space it occupies will | ||
| 583 | * never be available for the kinds of things that would require btree | ||
| 584 | * expansion. We therefore can pretend the space isn't there. | ||
| 585 | */ | ||
| 586 | if (mp->m_sb.sb_logstart && | ||
| 587 | XFS_FSB_TO_AGNO(mp, mp->m_sb.sb_logstart) == agno) | ||
| 588 | agblocks -= mp->m_sb.sb_logblocks; | ||
| 589 | |||
| 581 | /* Reserve 1% of the AG or enough for 1 block per record. */ | 590 | /* Reserve 1% of the AG or enough for 1 block per record. */ |
| 582 | *ask += max(agblocks / 100, xfs_rmapbt_max_size(mp, agblocks)); | 591 | *ask += max(agblocks / 100, xfs_rmapbt_max_size(mp, agblocks)); |
| 583 | *used += tree_len; | 592 | *used += tree_len; |
