Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

9p: fix file headers

- add missing SPDX-License-Identifier
- remove (sometimes incorrect) file name from file header

Link: http://lkml.kernel.org/r/20211102134608.1588018-2-dominique.martinet@atmark-techno.com
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>

+7 -116
+1 -9
fs/9p/acl.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 15 7 #include <linux/module.h>
+1 -9
fs/9p/acl.h
··· 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 #ifndef FS_9P_ACL_H 15 7 #define FS_9P_ACL_H
-2
fs/9p/v9fs.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/v9fs.c 4 - * 5 3 * This file contains functions assisting in mapping VFS to 9P2000 6 4 * 7 5 * Copyright (C) 2004-2008 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_addr.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_addr.c 4 - * 5 3 * This file contians vfs address (mmap) ops for 9P2000. 6 4 * 7 5 * Copyright (C) 2005 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_dentry.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_dentry.c 4 - * 5 3 * This file contians vfs dentry ops for the 9P2000 protocol. 6 4 * 7 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_dir.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_dir.c 4 - * 5 3 * This file contains vfs directory ops for the 9P2000 protocol. 6 4 * 7 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_file.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_file.c 4 - * 5 3 * This file contians vfs file ops for 9P2000. 6 4 * 7 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_inode.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_inode.c 4 - * 5 3 * This file contains vfs inode ops for the 9P2000 protocol. 6 4 * 7 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com>
-2
fs/9p/vfs_inode_dotl.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_inode_dotl.c 4 - * 5 3 * This file contains vfs inode ops for the 9P2000.L protocol. 6 4 * 7 5 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com>
-4
fs/9p/vfs_super.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/vfs_super.c 4 - * 5 - * This file contians superblock ops for 9P2000. It is intended that 6 - * you mount this file system on directories. 7 3 * 8 4 * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> 9 5 * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov>
+1 -9
fs/9p/xattr.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 15 7 #include <linux/module.h>
+1 -9
fs/9p/xattr.h
··· 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 #ifndef FS_9P_XATTR_H 15 7 #define FS_9P_XATTR_H
-2
include/net/9p/9p.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * include/net/9p/9p.h 4 - * 5 3 * 9P protocol definitions. 6 4 * 7 5 * Copyright (C) 2005 by Latchesar Ionkov <lucho@ionkov.net>
-2
include/net/9p/client.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * include/net/9p/client.h 4 - * 5 3 * 9P Client Definitions 6 4 * 7 5 * Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
-2
include/net/9p/transport.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * include/net/9p/transport.h 4 - * 5 3 * Transport Definition 6 4 * 7 5 * Copyright (C) 2005 by Latchesar Ionkov <lucho@ionkov.net>
-2
net/9p/client.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * net/9p/clnt.c 4 - * 5 3 * 9P Client 6 4 * 7 5 * Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
-2
net/9p/error.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/error.c 4 - * 5 3 * Error string handling 6 4 * 7 5 * Plan 9 uses error strings, Unix uses error numbers. These functions
-2
net/9p/mod.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * net/9p/9p.c 4 - * 5 3 * 9P entry point 6 4 * 7 5 * Copyright (C) 2007 by Latchesar Ionkov <lucho@ionkov.net>
-2
net/9p/protocol.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * net/9p/protocol.c 4 - * 5 3 * 9P Protocol Support Code 6 4 * 7 5 * Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
-2
net/9p/protocol.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 2 /* 3 - * net/9p/protocol.h 4 - * 5 3 * 9P Protocol Support Code 6 4 * 7 5 * Copyright (C) 2008 by Eric Van Hensbergen <ericvh@gmail.com>
+1 -9
net/9p/trans_common.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 15 7 #include <linux/mm.h>
+1 -9
net/9p/trans_common.h
··· 1 + /* SPDX-License-Identifier: LGPL-2.1 */ 1 2 /* 2 3 * Copyright IBM Corporation, 2010 3 4 * Author Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms of version 2.1 of the GNU Lesser General Public License 7 - * as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope that it would be useful, but 10 - * WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 - * 13 5 */ 14 6 15 7 void p9_release_pages(struct page **, int);
-2
net/9p/trans_fd.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/trans_fd.c 4 - * 5 3 * Fd transport layer. Includes deprecated socket layer. 6 4 * 7 5 * Copyright (C) 2006 by Russ Cox <rsc@swtch.com>
-2
net/9p/trans_rdma.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/fs/9p/trans_rdma.c 4 - * 5 3 * RDMA transport layer based on the trans_fd.c implementation. 6 4 * 7 5 * Copyright (C) 2008 by Tom Tucker <tom@opengridcomputing.com>
+1 -24
net/9p/trans_xen.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/fs/9p/trans_xen 3 4 * 4 5 * Xen transport layer. 5 6 * 6 7 * Copyright (C) 2017 by Stefano Stabellini <stefano@aporeto.com> 7 - * 8 - * This program is free software; you can redistribute it and/or 9 - * modify it under the terms of the GNU General Public License version 2 10 - * as published by the Free Software Foundation; or, when distributed 11 - * separately from the Linux kernel or incorporated into other 12 - * software packages, subject to the following license: 13 - * 14 - * Permission is hereby granted, free of charge, to any person obtaining a copy 15 - * of this source file (the "Software"), to deal in the Software without 16 - * restriction, including without limitation the rights to use, copy, modify, 17 - * merge, publish, distribute, sublicense, and/or sell copies of the Software, 18 - * and to permit persons to whom the Software is furnished to do so, subject to 19 - * the following conditions: 20 - * 21 - * The above copyright notice and this permission notice shall be included in 22 - * all copies or substantial portions of the Software. 23 - * 24 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 29 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 30 - * IN THE SOFTWARE. 31 8 */ 32 9 33 10 #include <xen/events.h>