Reviewed-by: Richard Fontana <rfontana@xxxxxxxxxx> On Fri, May 24, 2019 at 6:12 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > this program is free software you can redistribute it and or modify > it under the terms of the gnu general public license as published by > the free software foundation either version 2 of the license or at > your option any later version this program is distributed in the > hope that it will be useful but without any warranty without even > the implied warranty of merchantability or fitness for a particular > purpose see the gnu general public license for more details you > should have received a copy of the gnu general public license along > with this program if not write to the free software foundation inc > 59 temple place suite 330 boston ma 021110 1307 usa > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 84 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch6&id=55eab5942905 > --- > fs/configfs/configfs_internal.h | 16 +--------------- > fs/configfs/dir.c | 16 +--------------- > fs/configfs/file.c | 16 +--------------- > fs/configfs/inode.c | 16 +--------------- > fs/configfs/item.c | 16 +--------------- > fs/configfs/mount.c | 16 +--------------- > fs/configfs/symlink.c | 16 +--------------- > fs/ocfs2/alloc.c | 16 +--------------- > fs/ocfs2/alloc.h | 16 +--------------- > fs/ocfs2/aops.c | 16 +--------------- > fs/ocfs2/aops.h | 16 +--------------- > fs/ocfs2/buffer_head_io.c | 16 +--------------- > fs/ocfs2/buffer_head_io.h | 16 +--------------- > fs/ocfs2/cluster/heartbeat.c | 16 +--------------- > fs/ocfs2/cluster/heartbeat.h | 17 +---------------- > fs/ocfs2/cluster/masklog.c | 16 +--------------- > fs/ocfs2/cluster/masklog.h | 16 +--------------- > fs/ocfs2/cluster/netdebug.c | 17 +---------------- > fs/ocfs2/cluster/nodemanager.c | 16 +--------------- > fs/ocfs2/cluster/nodemanager.h | 17 +---------------- > fs/ocfs2/cluster/ocfs2_heartbeat.h | 16 +--------------- > fs/ocfs2/cluster/ocfs2_nodemanager.h | 17 +---------------- > fs/ocfs2/cluster/quorum.c | 16 +--------------- > fs/ocfs2/cluster/quorum.h | 17 +---------------- > fs/ocfs2/cluster/tcp.c | 16 +--------------- > fs/ocfs2/cluster/tcp.h | 17 +---------------- > fs/ocfs2/cluster/tcp_internal.h | 16 +--------------- > fs/ocfs2/dcache.c | 16 +--------------- > fs/ocfs2/dcache.h | 16 +--------------- > fs/ocfs2/dir.c | 16 +--------------- > fs/ocfs2/dir.h | 16 +--------------- > fs/ocfs2/dlm/dlmapi.h | 17 +---------------- > fs/ocfs2/dlm/dlmast.c | 17 +---------------- > fs/ocfs2/dlm/dlmcommon.h | 17 +---------------- > fs/ocfs2/dlm/dlmconvert.c | 17 +---------------- > fs/ocfs2/dlm/dlmconvert.h | 17 +---------------- > fs/ocfs2/dlm/dlmdebug.c | 17 +---------------- > fs/ocfs2/dlm/dlmdebug.h | 17 +---------------- > fs/ocfs2/dlm/dlmdomain.c | 17 +---------------- > fs/ocfs2/dlm/dlmdomain.h | 17 +---------------- > fs/ocfs2/dlm/dlmlock.c | 17 +---------------- > fs/ocfs2/dlm/dlmmaster.c | 17 +---------------- > fs/ocfs2/dlm/dlmrecovery.c | 17 +---------------- > fs/ocfs2/dlm/dlmthread.c | 17 +---------------- > fs/ocfs2/dlm/dlmunlock.c | 17 +---------------- > fs/ocfs2/dlmfs/dlmfs.c | 16 +--------------- > fs/ocfs2/dlmfs/userdlm.c | 16 +--------------- > fs/ocfs2/dlmfs/userdlm.h | 16 +--------------- > fs/ocfs2/dlmglue.c | 16 +--------------- > fs/ocfs2/dlmglue.h | 16 +--------------- > fs/ocfs2/export.c | 16 +--------------- > fs/ocfs2/export.h | 16 +--------------- > fs/ocfs2/file.c | 16 +--------------- > fs/ocfs2/file.h | 16 +--------------- > fs/ocfs2/heartbeat.c | 16 +--------------- > fs/ocfs2/heartbeat.h | 16 +--------------- > fs/ocfs2/inode.c | 16 +--------------- > fs/ocfs2/inode.h | 16 +--------------- > fs/ocfs2/journal.c | 16 +--------------- > fs/ocfs2/journal.h | 16 +--------------- > fs/ocfs2/localalloc.c | 16 +--------------- > fs/ocfs2/localalloc.h | 16 +--------------- > fs/ocfs2/locks.c | 16 +--------------- > fs/ocfs2/locks.h | 16 +--------------- > fs/ocfs2/mmap.c | 16 +--------------- > fs/ocfs2/namei.c | 16 +--------------- > fs/ocfs2/namei.h | 16 +--------------- > fs/ocfs2/ocfs2.h | 16 +--------------- > fs/ocfs2/ocfs2_lockid.h | 16 +--------------- > fs/ocfs2/resize.c | 16 +--------------- > fs/ocfs2/resize.h | 16 +--------------- > fs/ocfs2/slot_map.c | 18 +----------------- > fs/ocfs2/slot_map.h | 16 +--------------- > fs/ocfs2/suballoc.c | 16 +--------------- > fs/ocfs2/suballoc.h | 16 +--------------- > fs/ocfs2/super.c | 16 +--------------- > fs/ocfs2/super.h | 16 +--------------- > fs/ocfs2/symlink.h | 16 +--------------- > fs/ocfs2/sysfile.c | 16 +--------------- > fs/ocfs2/sysfile.h | 16 +--------------- > fs/ocfs2/uptodate.c | 16 +--------------- > fs/ocfs2/uptodate.h | 16 +--------------- > include/linux/configfs.h | 16 +--------------- > samples/configfs/configfs_sample.c | 16 +--------------- > 84 files changed, 84 insertions(+), 1282 deletions(-) > > --- a/fs/configfs/configfs_internal.h > +++ b/fs/configfs/configfs_internal.h > @@ -1,23 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset:8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * configfs_internal.h - Internal stuff for configfs > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/configfs/dir.c > +++ b/fs/configfs/dir.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * dir.c - Operations for configfs directories. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/configfs/file.c > +++ b/fs/configfs/file.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * file.c - operations for regular (text) files. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/configfs/inode.c > +++ b/fs/configfs/inode.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * inode.c - basic inode and dentry operations. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/configfs/item.c > +++ b/fs/configfs/item.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * item.c - library routines for handling generic config items > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on kobject: > * kobject is Copyright (c) 2002-2003 Patrick Mochel > * > --- a/fs/configfs/mount.c > +++ b/fs/configfs/mount.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * mount.c - operations for initializing and mounting configfs. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/configfs/symlink.c > +++ b/fs/configfs/symlink.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * symlink.c - operations for configfs symlinks. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * Based on sysfs: > * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel > * > --- a/fs/ocfs2/alloc.c > +++ b/fs/ocfs2/alloc.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,21 +7,6 @@ > * Extent allocs and frees > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/fs.h> > --- a/fs/ocfs2/alloc.h > +++ b/fs/ocfs2/alloc.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,21 +7,6 @@ > * Function prototypes > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef OCFS2_ALLOC_H > --- a/fs/ocfs2/aops.c > +++ b/fs/ocfs2/aops.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/fs.h> > --- a/fs/ocfs2/aops.h > +++ b/fs/ocfs2/aops.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2002, 2004, 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef OCFS2_AOPS_H > --- a/fs/ocfs2/buffer_head_io.c > +++ b/fs/ocfs2/buffer_head_io.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,21 +7,6 @@ > * Buffer cache handling > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/fs.h> > --- a/fs/ocfs2/buffer_head_io.h > +++ b/fs/ocfs2/buffer_head_io.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,21 +7,6 @@ > * Buffer cache handling functions defined > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef OCFS2_BUFFER_HEAD_IO_H > --- a/fs/ocfs2/cluster/heartbeat.c > +++ b/fs/ocfs2/cluster/heartbeat.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2004, 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/kernel.h> > --- a/fs/ocfs2/cluster/heartbeat.h > +++ b/fs/ocfs2/cluster/heartbeat.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,22 +7,6 @@ > * Function prototypes > * > * Copyright (C) 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifndef O2CLUSTER_HEARTBEAT_H > --- a/fs/ocfs2/cluster/masklog.c > +++ b/fs/ocfs2/cluster/masklog.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2004, 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/module.h> > --- a/fs/ocfs2/cluster/masklog.h > +++ b/fs/ocfs2/cluster/masklog.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef O2CLUSTER_MASKLOG_H > --- a/fs/ocfs2/cluster/netdebug.c > +++ b/fs/ocfs2/cluster/netdebug.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,22 +7,6 @@ > * debug functionality for o2net > * > * Copyright (C) 2005, 2008 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifdef CONFIG_DEBUG_FS > --- a/fs/ocfs2/cluster/nodemanager.c > +++ b/fs/ocfs2/cluster/nodemanager.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2004, 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #include <linux/slab.h> > --- a/fs/ocfs2/cluster/nodemanager.h > +++ b/fs/ocfs2/cluster/nodemanager.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,22 +7,6 @@ > * Function prototypes > * > * Copyright (C) 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifndef O2CLUSTER_NODEMANAGER_H > --- a/fs/ocfs2/cluster/ocfs2_heartbeat.h > +++ b/fs/ocfs2/cluster/ocfs2_heartbeat.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,21 +7,6 @@ > * On-disk structures for ocfs2_heartbeat > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef _OCFS2_HEARTBEAT_H > --- a/fs/ocfs2/cluster/ocfs2_nodemanager.h > +++ b/fs/ocfs2/cluster/ocfs2_nodemanager.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -7,22 +8,6 @@ > * for the ocfs2_nodemanager module. > * > * Copyright (C) 2002, 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifndef _OCFS2_NODEMANAGER_H > --- a/fs/ocfs2/cluster/quorum.c > +++ b/fs/ocfs2/cluster/quorum.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > /* This quorum hack is only here until we transition to some more rational > --- a/fs/ocfs2/cluster/quorum.h > +++ b/fs/ocfs2/cluster/quorum.h > @@ -1,23 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifndef O2CLUSTER_QUORUM_H > --- a/fs/ocfs2/cluster/tcp.c > +++ b/fs/ocfs2/cluster/tcp.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > * > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2004 Oracle. All rights reserved. > * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > * ---- > * > * Callers for this were originally written against a very simple synchronus > --- a/fs/ocfs2/cluster/tcp.h > +++ b/fs/ocfs2/cluster/tcp.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > @@ -6,22 +7,6 @@ > * Function prototypes > * > * Copyright (C) 2004 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > - * > */ > > #ifndef O2CLUSTER_TCP_H > --- a/fs/ocfs2/cluster/tcp_internal.h > +++ b/fs/ocfs2/cluster/tcp_internal.h > @@ -1,22 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- mode: c; c-basic-offset: 8; -*- > * vim: noexpandtab sw=8 ts=8 sts=0: > * > * Copyright (C) 2005 Oracle. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public > - * License as published by the Free Software Foundation; either > - * version 2 of the License, or (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public > - * License along with this program; if not, write to the > - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, > - * Boston, MA 021110-1307, USA. > */ > > #ifndef O2CLUSTER_TCP_INTERNAL_H > --- a/fs/ocfs2/dcache.c > +++ b/fs/ocfs2/dcache.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- mode: c; c-basic-offset: 8; -*- > > -- Richard Fontana Senior Commercial Counsel Red Hat, Inc.