Reviewed-by: Richard Fontana <rfontana@xxxxxxxxxx> On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > Based on 1 normalized pattern(s): > > this program include file is free software you can redistribute it > and or modify it under the terms of the gnu general public license > as published by the free software foundation either version 2 of the > license or at your option any later version this program include > file is distributed in the hope that it will be useful but without > any warranty without even the implied warranty of merchantability or > fitness for a particular purpose see the gnu general public license > for more details you should have received a copy of the gnu general > public license along with this program in the main directory of the > linux [ntfs] distribution in the file copying if not write to the > free software foundation inc 59 temple place suite 330 boston ma > 02111 1307 usa > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 43 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=5f91b170281a > --- > fs/ntfs/aops.c | 16 +--------------- > fs/ntfs/aops.h | 16 +--------------- > fs/ntfs/attrib.c | 16 +--------------- > fs/ntfs/attrib.h | 16 +--------------- > fs/ntfs/bitmap.c | 16 +--------------- > fs/ntfs/bitmap.h | 16 +--------------- > fs/ntfs/collate.c | 16 +--------------- > fs/ntfs/collate.h | 16 +--------------- > fs/ntfs/compress.c | 16 +--------------- > fs/ntfs/debug.c | 16 +--------------- > fs/ntfs/debug.h | 16 +--------------- > fs/ntfs/dir.c | 16 +--------------- > fs/ntfs/dir.h | 16 +--------------- > fs/ntfs/endian.h | 16 +--------------- > fs/ntfs/file.c | 16 +--------------- > fs/ntfs/index.c | 16 +--------------- > fs/ntfs/index.h | 16 +--------------- > fs/ntfs/inode.c | 16 +--------------- > fs/ntfs/inode.h | 16 +--------------- > fs/ntfs/layout.h | 16 +--------------- > fs/ntfs/lcnalloc.c | 16 +--------------- > fs/ntfs/lcnalloc.h | 16 +--------------- > fs/ntfs/logfile.c | 16 +--------------- > fs/ntfs/logfile.h | 16 +--------------- > fs/ntfs/malloc.h | 16 +--------------- > fs/ntfs/mft.c | 16 +--------------- > fs/ntfs/mft.h | 16 +--------------- > fs/ntfs/mst.c | 16 +--------------- > fs/ntfs/namei.c | 16 +--------------- > fs/ntfs/ntfs.h | 16 +--------------- > fs/ntfs/quota.c | 16 +--------------- > fs/ntfs/quota.h | 16 +--------------- > fs/ntfs/runlist.c | 16 +--------------- > fs/ntfs/runlist.h | 16 +--------------- > fs/ntfs/super.c | 16 +--------------- > fs/ntfs/sysctl.c | 16 +--------------- > fs/ntfs/sysctl.h | 16 +--------------- > fs/ntfs/time.h | 16 +--------------- > fs/ntfs/types.h | 16 +--------------- > fs/ntfs/unistr.c | 16 +--------------- > fs/ntfs/usnjrnl.c | 16 +--------------- > fs/ntfs/usnjrnl.h | 16 +--------------- > fs/ntfs/volume.h | 16 +--------------- > 43 files changed, 43 insertions(+), 645 deletions(-) > > --- a/fs/ntfs/aops.c > +++ b/fs/ntfs/aops.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * aops.c - NTFS kernel address space operations and page cache handling. > * > * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/errno.h> > --- a/fs/ntfs/aops.h > +++ b/fs/ntfs/aops.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /** > * aops.h - Defines for NTFS kernel address space operations and page cache > * handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_AOPS_H > --- a/fs/ntfs/attrib.c > +++ b/fs/ntfs/attrib.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/buffer_head.h> > --- a/fs/ntfs/attrib.h > +++ b/fs/ntfs/attrib.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * attrib.h - Defines for attribute handling in NTFS Linux kernel driver. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_ATTRIB_H > --- a/fs/ntfs/bitmap.c > +++ b/fs/ntfs/bitmap.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2004-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef NTFS_RW > --- a/fs/ntfs/bitmap.h > +++ b/fs/ntfs/bitmap.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS > * project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_BITMAP_H > --- a/fs/ntfs/collate.c > +++ b/fs/ntfs/collate.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include "collate.h" > --- a/fs/ntfs/collate.h > +++ b/fs/ntfs/collate.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * collate.h - Defines for NTFS kernel collation handling. Part of the > * Linux-NTFS project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_COLLATE_H > --- a/fs/ntfs/compress.c > +++ b/fs/ntfs/compress.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * compress.c - NTFS kernel compressed attributes handling. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/fs.h> > --- a/fs/ntfs/debug.c > +++ b/fs/ntfs/debug.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > #include "debug.h" > --- a/fs/ntfs/debug.h > +++ b/fs/ntfs/debug.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_DEBUG_H > --- a/fs/ntfs/dir.c > +++ b/fs/ntfs/dir.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2007 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/buffer_head.h> > --- a/fs/ntfs/dir.h > +++ b/fs/ntfs/dir.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of > * the Linux-NTFS project. > * > * Copyright (c) 2002-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_DIR_H > --- a/fs/ntfs/endian.h > +++ b/fs/ntfs/endian.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * endian.h - Defines for endianness handling in NTFS Linux kernel driver. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_ENDIAN_H > --- a/fs/ntfs/file.c > +++ b/fs/ntfs/file.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * file.c - NTFS kernel file operations. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc. > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/backing-dev.h> > --- a/fs/ntfs/index.c > +++ b/fs/ntfs/index.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * index.c - NTFS kernel index handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2004-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/slab.h> > --- a/fs/ntfs/index.h > +++ b/fs/ntfs/index.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS > * project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_INDEX_H > --- a/fs/ntfs/inode.c > +++ b/fs/ntfs/inode.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * inode.c - NTFS kernel inode handling. > * > * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/buffer_head.h> > --- a/fs/ntfs/inode.h > +++ b/fs/ntfs/inode.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of > * the Linux-NTFS project. > * > * Copyright (c) 2001-2007 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_INODE_H > --- a/fs/ntfs/layout.h > +++ b/fs/ntfs/layout.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS > * project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_LAYOUT_H > --- a/fs/ntfs/lcnalloc.c > +++ b/fs/ntfs/lcnalloc.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project. > * > * Copyright (c) 2004-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef NTFS_RW > --- a/fs/ntfs/lcnalloc.h > +++ b/fs/ntfs/lcnalloc.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the > * Linux-NTFS project. > * > * Copyright (c) 2004-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_LCNALLOC_H > --- a/fs/ntfs/logfile.c > +++ b/fs/ntfs/logfile.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2002-2007 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef NTFS_RW > --- a/fs/ntfs/logfile.h > +++ b/fs/ntfs/logfile.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of > * the Linux-NTFS project. > * > * Copyright (c) 2000-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_LOGFILE_H > --- a/fs/ntfs/malloc.h > +++ b/fs/ntfs/malloc.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_MALLOC_H > --- a/fs/ntfs/mft.c > +++ b/fs/ntfs/mft.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/buffer_head.h> > --- a/fs/ntfs/mft.h > +++ b/fs/ntfs/mft.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * mft.h - Defines for mft record handling in NTFS Linux kernel driver. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_MFT_H > --- a/fs/ntfs/mst.c > +++ b/fs/ntfs/mst.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * mst.c - NTFS multi sector transfer protection handling code. Part of the > * Linux-NTFS project. > * > * Copyright (c) 2001-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include "ntfs.h" > --- a/fs/ntfs/namei.c > +++ b/fs/ntfs/namei.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS > * project. > * > * Copyright (c) 2001-2006 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/dcache.h> > --- a/fs/ntfs/ntfs.h > +++ b/fs/ntfs/ntfs.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * ntfs.h - Defines for NTFS Linux kernel driver. > * > * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. > * Copyright (C) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_H > --- a/fs/ntfs/quota.c > +++ b/fs/ntfs/quota.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS > * project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef NTFS_RW > --- a/fs/ntfs/quota.h > +++ b/fs/ntfs/quota.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the > * Linux-NTFS project. > * > * Copyright (c) 2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_QUOTA_H > --- a/fs/ntfs/runlist.c > +++ b/fs/ntfs/runlist.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /** > * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2007 Anton Altaparmakov > * Copyright (c) 2002-2005 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include "debug.h" > --- a/fs/ntfs/runlist.h > +++ b/fs/ntfs/runlist.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * runlist.h - Defines for runlist handling in NTFS Linux kernel driver. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_RUNLIST_H > --- a/fs/ntfs/super.c > +++ b/fs/ntfs/super.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. > * Copyright (c) 2001,2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > --- a/fs/ntfs/sysctl.c > +++ b/fs/ntfs/sysctl.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of > * the Linux-NTFS project. Adapted from the old NTFS driver, > * Copyright (C) 1997 Martin von Löwis, Régis Duchesne > * > * Copyright (c) 2002-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef DEBUG > --- a/fs/ntfs/sysctl.h > +++ b/fs/ntfs/sysctl.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of > * the Linux-NTFS project. Adapted from the old NTFS driver, > * Copyright (C) 1997 Martin von Löwis, Régis Duchesne > * > * Copyright (c) 2002-2004 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_SYSCTL_H > --- a/fs/ntfs/time.h > +++ b/fs/ntfs/time.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_TIME_H > --- a/fs/ntfs/types.h > +++ b/fs/ntfs/types.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * types.h - Defines for NTFS Linux kernel driver specific types. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_TYPES_H > --- a/fs/ntfs/unistr.c > +++ b/fs/ntfs/unistr.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project. > * > * Copyright (c) 2001-2006 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/slab.h> > --- a/fs/ntfs/usnjrnl.c > +++ b/fs/ntfs/usnjrnl.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the > * Linux-NTFS project. > * > * Copyright (c) 2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifdef NTFS_RW > --- a/fs/ntfs/usnjrnl.h > +++ b/fs/ntfs/usnjrnl.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling. > * Part of the Linux-NTFS project. > * > * Copyright (c) 2005 Anton Altaparmakov > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_USNJRNL_H > --- a/fs/ntfs/volume.h > +++ b/fs/ntfs/volume.h > @@ -1,24 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part > * of the Linux-NTFS project. > * > * Copyright (c) 2001-2006 Anton Altaparmakov > * Copyright (c) 2002 Richard Russon > - * > - * This program/include file is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License as published > - * by the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program/include file is distributed in the hope that it will be > - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty > - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program (in the main directory of the Linux-NTFS > - * distribution in the file COPYING); if not, write to the Free Software > - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef _LINUX_NTFS_VOLUME_H > > -- Richard Fontana Senior Commercial Counsel Red Hat, Inc.