From bba805a46c91e7a8a1d04704e5409f890acf8b66 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Mon, 13 Sep 2021 00:08:08 -0500
Subject: [PATCH] cifs: rename fs/cifs directory to fs/smbfs
To be more consistent with the source directory name for the
new smb3 server (ksmbd), and to avoid using the word "cifs"
(a very old dialect) when more recent dialects (like SMB3 or
SMB3.1.1) are meant, rename the client directory from
fs/cifs to fs/smbfs. It is already possible to do
"modprobe smb3" or "mount -t smb3 ..."
Note that this does not rename the module itself (cifs.ko)
although that could be done in a future patch.
Signed-off-by: Steve French <stfrench@microsoft.com>
---
fs/Kconfig | 2 +-
fs/Makefile | 2 +-
fs/{cifs => smbfs}/Kconfig | 0
fs/{cifs => smbfs}/Makefile | 0
fs/{cifs => smbfs}/asn1.c | 0
fs/{cifs => smbfs}/cache.c | 2 +-
fs/{cifs => smbfs}/cifs_debug.c | 1 -
fs/{cifs => smbfs}/cifs_debug.h | 0
fs/{cifs => smbfs}/cifs_dfs_ref.c | 0
fs/{cifs => smbfs}/cifs_fs_sb.h | 1 -
fs/{cifs => smbfs}/cifs_ioctl.h | 1 -
fs/{cifs => smbfs}/cifs_spnego.c | 2 +-
fs/{cifs => smbfs}/cifs_spnego.h | 2 +-
fs/{cifs => smbfs}/cifs_spnego_negtokeninit.asn1 | 0
fs/{cifs => smbfs}/cifs_swn.c | 2 +-
fs/{cifs => smbfs}/cifs_swn.h | 0
fs/{cifs => smbfs}/cifs_unicode.c | 1 -
fs/{cifs => smbfs}/cifs_unicode.h | 0
fs/{cifs => smbfs}/cifs_uniupr.h | 0
fs/{cifs => smbfs}/cifsacl.c | 1 -
fs/{cifs => smbfs}/cifsacl.h | 1 -
fs/{cifs => smbfs}/cifsencrypt.c | 1 -
fs/{cifs => smbfs}/cifsfs.c | 1 -
fs/{cifs => smbfs}/cifsfs.h | 1 -
fs/{cifs => smbfs}/cifsglob.h | 3 +--
fs/{cifs => smbfs}/cifspdu.h | 1 -
fs/{cifs => smbfs}/cifsproto.h | 1 -
fs/{cifs => smbfs}/cifsroot.c | 0
fs/{cifs => smbfs}/cifssmb.c | 1 -
fs/{cifs => smbfs}/connect.c | 1 -
fs/{cifs => smbfs}/dfs_cache.c | 0
fs/{cifs => smbfs}/dfs_cache.h | 0
fs/{cifs => smbfs}/dir.c | 1 -
fs/{cifs => smbfs}/dns_resolve.c | 1 -
fs/{cifs => smbfs}/dns_resolve.h | 4 ++--
fs/{cifs => smbfs}/export.c | 1 -
fs/{cifs => smbfs}/file.c | 1 -
fs/{cifs => smbfs}/fs_context.c | 0
fs/{cifs => smbfs}/fs_context.h | 0
fs/{cifs => smbfs}/fscache.c | 2 +-
fs/{cifs => smbfs}/fscache.h | 2 +-
fs/{cifs => smbfs}/inode.c | 1 -
fs/{cifs => smbfs}/ioctl.c | 1 -
fs/{cifs => smbfs}/link.c | 1 -
fs/{cifs => smbfs}/misc.c | 1 -
fs/{cifs => smbfs}/netlink.c | 2 +-
fs/{cifs => smbfs}/netlink.h | 0
fs/{cifs => smbfs}/netmisc.c | 1 -
fs/{cifs => smbfs}/nterr.c | 0
fs/{cifs => smbfs}/nterr.h | 0
fs/{cifs => smbfs}/ntlmssp.h | 1 -
fs/{cifs => smbfs}/readdir.c | 1 -
fs/{cifs => smbfs}/rfc1002pdu.h | 1 -
fs/{cifs => smbfs}/sess.c | 1 -
fs/{cifs => smbfs}/smb1ops.c | 0
fs/{cifs => smbfs}/smb2file.c | 1 -
fs/{cifs => smbfs}/smb2glob.h | 1 -
fs/{cifs => smbfs}/smb2inode.c | 1 -
fs/{cifs => smbfs}/smb2maperror.c | 0
fs/{cifs => smbfs}/smb2misc.c | 1 -
fs/{cifs => smbfs}/smb2ops.c | 0
fs/{cifs => smbfs}/smb2pdu.c | 1 -
fs/{cifs => smbfs}/smb2pdu.h | 1 -
fs/{cifs => smbfs}/smb2proto.h | 1 -
fs/{cifs => smbfs}/smb2status.h | 1 -
fs/{cifs => smbfs}/smb2transport.c | 1 -
fs/{cifs => smbfs}/smbdirect.c | 0
fs/{cifs => smbfs}/smbdirect.h | 0
fs/{cifs => smbfs}/smbencrypt.c | 0
fs/{cifs => smbfs}/smberr.h | 1 -
fs/{cifs => smbfs}/trace.c | 0
fs/{cifs => smbfs}/trace.h | 0
fs/{cifs => smbfs}/transport.c | 1 -
fs/{cifs => smbfs}/unc.c | 0
fs/{cifs => smbfs}/winucase.c | 1 -
fs/{cifs => smbfs}/xattr.c | 1 -
include/uapi/linux/{cifs => smbfs}/cifs_mount.h | 1 -
include/uapi/linux/{cifs => smbfs}/cifs_netlink.h | 0
78 files changed, 12 insertions(+), 53 deletions(-)
rename fs/{cifs => smbfs}/Kconfig (100%)
rename fs/{cifs => smbfs}/Makefile (100%)
rename fs/{cifs => smbfs}/asn1.c (100%)
rename fs/{cifs => smbfs}/cache.c (97%)
rename fs/{cifs => smbfs}/cifs_debug.c (99%)
rename fs/{cifs => smbfs}/cifs_debug.h (100%)
rename fs/{cifs => smbfs}/cifs_dfs_ref.c (100%)
rename fs/{cifs => smbfs}/cifs_fs_sb.h (99%)
rename fs/{cifs => smbfs}/cifs_ioctl.h (99%)
rename fs/{cifs => smbfs}/cifs_spnego.c (98%)
rename fs/{cifs => smbfs}/cifs_spnego.h (92%)
rename fs/{cifs => smbfs}/cifs_spnego_negtokeninit.asn1 (100%)
rename fs/{cifs => smbfs}/cifs_swn.c (99%)
rename fs/{cifs => smbfs}/cifs_swn.h (100%)
rename fs/{cifs => smbfs}/cifs_unicode.c (99%)
rename fs/{cifs => smbfs}/cifs_unicode.h (100%)
rename fs/{cifs => smbfs}/cifs_uniupr.h (100%)
rename fs/{cifs => smbfs}/cifsacl.c (99%)
rename fs/{cifs => smbfs}/cifsacl.h (99%)
rename fs/{cifs => smbfs}/cifsencrypt.c (99%)
rename fs/{cifs => smbfs}/cifsfs.c (99%)
rename fs/{cifs => smbfs}/cifsfs.h (99%)
rename fs/{cifs => smbfs}/cifsglob.h (99%)
rename fs/{cifs => smbfs}/cifspdu.h (99%)
rename fs/{cifs => smbfs}/cifsproto.h (99%)
rename fs/{cifs => smbfs}/cifsroot.c (100%)
rename fs/{cifs => smbfs}/cifssmb.c (99%)
rename fs/{cifs => smbfs}/connect.c (99%)
rename fs/{cifs => smbfs}/dfs_cache.c (100%)
rename fs/{cifs => smbfs}/dfs_cache.h (100%)
rename fs/{cifs => smbfs}/dir.c (99%)
rename fs/{cifs => smbfs}/dns_resolve.c (98%)
rename fs/{cifs => smbfs}/dns_resolve.h (71%)
rename fs/{cifs => smbfs}/export.c (98%)
rename fs/{cifs => smbfs}/file.c (99%)
rename fs/{cifs => smbfs}/fs_context.c (100%)
rename fs/{cifs => smbfs}/fs_context.h (100%)
rename fs/{cifs => smbfs}/fscache.c (99%)
rename fs/{cifs => smbfs}/fscache.h (98%)
rename fs/{cifs => smbfs}/inode.c (99%)
rename fs/{cifs => smbfs}/ioctl.c (99%)
rename fs/{cifs => smbfs}/link.c (99%)
rename fs/{cifs => smbfs}/misc.c (99%)
rename fs/{cifs => smbfs}/netlink.c (98%)
rename fs/{cifs => smbfs}/netlink.h (100%)
rename fs/{cifs => smbfs}/netmisc.c (99%)
rename fs/{cifs => smbfs}/nterr.c (100%)
rename fs/{cifs => smbfs}/nterr.h (100%)
rename fs/{cifs => smbfs}/ntlmssp.h (99%)
rename fs/{cifs => smbfs}/readdir.c (99%)
rename fs/{cifs => smbfs}/rfc1002pdu.h (98%)
rename fs/{cifs => smbfs}/sess.c (99%)
rename fs/{cifs => smbfs}/smb1ops.c (100%)
rename fs/{cifs => smbfs}/smb2file.c (99%)
rename fs/{cifs => smbfs}/smb2glob.h (98%)
rename fs/{cifs => smbfs}/smb2inode.c (99%)
rename fs/{cifs => smbfs}/smb2maperror.c (100%)
rename fs/{cifs => smbfs}/smb2misc.c (99%)
rename fs/{cifs => smbfs}/smb2ops.c (100%)
rename fs/{cifs => smbfs}/smb2pdu.c (99%)
rename fs/{cifs => smbfs}/smb2pdu.h (99%)
rename fs/{cifs => smbfs}/smb2proto.h (99%)
rename fs/{cifs => smbfs}/smb2status.h (99%)
rename fs/{cifs => smbfs}/smb2transport.c (99%)
rename fs/{cifs => smbfs}/smbdirect.c (100%)
rename fs/{cifs => smbfs}/smbdirect.h (100%)
rename fs/{cifs => smbfs}/smbencrypt.c (100%)
rename fs/{cifs => smbfs}/smberr.h (99%)
rename fs/{cifs => smbfs}/trace.c (100%)
rename fs/{cifs => smbfs}/trace.h (100%)
rename fs/{cifs => smbfs}/transport.c (99%)
rename fs/{cifs => smbfs}/unc.c (100%)
rename fs/{cifs => smbfs}/winucase.c (99%)
rename fs/{cifs => smbfs}/xattr.c (99%)
rename include/uapi/linux/{cifs => smbfs}/cifs_mount.h (96%)
rename include/uapi/linux/{cifs => smbfs}/cifs_netlink.h (100%)
@@ -364,7 +364,7 @@ config NFS_V4_2_SSC_HELPER
source "net/sunrpc/Kconfig"
source "fs/ceph/Kconfig"
-source "fs/cifs/Kconfig"
+source "fs/smbfs/Kconfig"
source "fs/ksmbd/Kconfig"
config SMBFS_COMMON
@@ -97,7 +97,7 @@ obj-$(CONFIG_NLS) += nls/
obj-$(CONFIG_UNICODE) += unicode/
obj-$(CONFIG_SYSV_FS) += sysv/
obj-$(CONFIG_SMBFS_COMMON) += smbfs_common/
-obj-$(CONFIG_CIFS) += cifs/
+obj-$(CONFIG_CIFS) += smbfs/
obj-$(CONFIG_SMB_SERVER) += ksmbd/
obj-$(CONFIG_HPFS_FS) += hpfs/
obj-$(CONFIG_NTFS_FS) += ntfs/
similarity index 100%
rename from fs/cifs/Kconfig
rename to fs/smbfs/Kconfig
similarity index 100%
rename from fs/cifs/Makefile
rename to fs/smbfs/Makefile
similarity index 100%
rename from fs/cifs/asn1.c
rename to fs/smbfs/asn1.c
similarity index 97%
rename from fs/cifs/cache.c
rename to fs/smbfs/cache.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cache.c - CIFS filesystem cache index structure definitions
+ * CIFS filesystem cache index structure definitions
*
* Copyright (c) 2010 Novell, Inc.
* Authors(s): Suresh Jayaraman (sjayaraman@suse.de>
similarity index 99%
rename from fs/cifs/cifs_debug.c
rename to fs/smbfs/cifs_debug.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * fs/cifs_debug.c
*
* Copyright (C) International Business Machines Corp., 2000,2005
*
similarity index 100%
rename from fs/cifs/cifs_debug.h
rename to fs/smbfs/cifs_debug.h
similarity index 100%
rename from fs/cifs/cifs_dfs_ref.c
rename to fs/smbfs/cifs_dfs_ref.c
similarity index 99%
rename from fs/cifs/cifs_fs_sb.h
rename to fs/smbfs/cifs_fs_sb.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifs_fs_sb.h
*
* Copyright (c) International Business Machines Corp., 2002,2004
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifs_ioctl.h
rename to fs/smbfs/cifs_ioctl.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifs_ioctl.h
*
* Structure definitions for io control for cifs/smb3
*
similarity index 98%
rename from fs/cifs/cifs_spnego.c
rename to fs/smbfs/cifs_spnego.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cifs_spnego.c -- SPNEGO upcall management for CIFS
+ * SPNEGO upcall management for CIFS
*
* Copyright (c) 2007 Red Hat, Inc.
* Author(s): Jeff Layton (jlayton@redhat.com)
similarity index 92%
rename from fs/cifs/cifs_spnego.h
rename to fs/smbfs/cifs_spnego.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifs_spnego.h -- SPNEGO upcall management for CIFS
+ * SPNEGO upcall management for CIFS
*
* Copyright (c) 2007 Red Hat, Inc.
* Author(s): Jeff Layton (jlayton@redhat.com)
similarity index 100%
rename from fs/cifs/cifs_spnego_negtokeninit.asn1
rename to fs/smbfs/cifs_spnego_negtokeninit.asn1
similarity index 99%
rename from fs/cifs/cifs_swn.c
rename to fs/smbfs/cifs_swn.c
@@ -7,7 +7,7 @@
#include <linux/kref.h>
#include <net/genetlink.h>
-#include <uapi/linux/cifs/cifs_netlink.h>
+#include <uapi/linux/smbfs/cifs_netlink.h>
#include "cifs_swn.h"
#include "cifsglob.h"
similarity index 100%
rename from fs/cifs/cifs_swn.h
rename to fs/smbfs/cifs_swn.h
similarity index 99%
rename from fs/cifs/cifs_unicode.c
rename to fs/smbfs/cifs_unicode.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * fs/cifs/cifs_unicode.c
*
* Copyright (c) International Business Machines Corp., 2000,2009
* Modified by Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/cifs_unicode.h
rename to fs/smbfs/cifs_unicode.h
similarity index 100%
rename from fs/cifs/cifs_uniupr.h
rename to fs/smbfs/cifs_uniupr.h
similarity index 99%
rename from fs/cifs/cifsacl.c
rename to fs/smbfs/cifsacl.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cifsacl.c
*
* Copyright (C) International Business Machines Corp., 2007,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifsacl.h
rename to fs/smbfs/cifsacl.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifsacl.h
*
* Copyright (c) International Business Machines Corp., 2007
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifsencrypt.c
rename to fs/smbfs/cifsencrypt.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cifsencrypt.c
*
* Encryption and hashing operations relating to NTLM, NTLMv2. See MS-NLMP
* for more detailed information
similarity index 99%
rename from fs/cifs/cifsfs.c
rename to fs/smbfs/cifsfs.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cifsfs.c
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifsfs.h
rename to fs/smbfs/cifsfs.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifsfs.h
*
* Copyright (c) International Business Machines Corp., 2002, 2007
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifsglob.h
rename to fs/smbfs/cifsglob.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifsglob.h
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
@@ -20,7 +19,7 @@
#include "cifsacl.h"
#include <crypto/internal/hash.h>
#include <linux/scatterlist.h>
-#include <uapi/linux/cifs/cifs_mount.h>
+#include <uapi/linux/smbfs/cifs_mount.h>
#include "smb2pdu.h"
#define CIFS_MAGIC_NUMBER 0xFF534D42 /* the first four bytes of SMB PDUs */
similarity index 99%
rename from fs/cifs/cifspdu.h
rename to fs/smbfs/cifspdu.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifspdu.h
*
* Copyright (c) International Business Machines Corp., 2002,2009
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/cifsproto.h
rename to fs/smbfs/cifsproto.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/cifsproto.h
*
* Copyright (c) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/cifsroot.c
rename to fs/smbfs/cifsroot.c
similarity index 99%
rename from fs/cifs/cifssmb.c
rename to fs/smbfs/cifssmb.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/cifssmb.c
*
* Copyright (C) International Business Machines Corp., 2002,2010
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/connect.c
rename to fs/smbfs/connect.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/connect.c
*
* Copyright (C) International Business Machines Corp., 2002,2011
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/dfs_cache.c
rename to fs/smbfs/dfs_cache.c
similarity index 100%
rename from fs/cifs/dfs_cache.h
rename to fs/smbfs/dfs_cache.h
similarity index 99%
rename from fs/cifs/dir.c
rename to fs/smbfs/dir.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/dir.c
*
* vfs operations that deal with dentries
*
similarity index 98%
rename from fs/cifs/dns_resolve.c
rename to fs/smbfs/dns_resolve.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/dns_resolve.c
*
* Copyright (c) 2007 Igor Mammedov
* Author(s): Igor Mammedov (niallain@gmail.com)
similarity index 71%
rename from fs/cifs/dns_resolve.h
rename to fs/smbfs/dns_resolve.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/dns_resolve.h -- DNS Resolver upcall management for CIFS DFS
- * Handles host name to IP address resolution
+ * DNS Resolver upcall management for CIFS DFS
+ * Handles host name to IP address resolution
*
* Copyright (c) International Business Machines Corp., 2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 98%
rename from fs/cifs/export.c
rename to fs/smbfs/export.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/export.c
*
* Copyright (C) International Business Machines Corp., 2007
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/file.c
rename to fs/smbfs/file.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/file.c
*
* vfs operations that deal with files
*
similarity index 100%
rename from fs/cifs/fs_context.c
rename to fs/smbfs/fs_context.c
similarity index 100%
rename from fs/cifs/fs_context.h
rename to fs/smbfs/fs_context.h
similarity index 99%
rename from fs/cifs/fscache.c
rename to fs/smbfs/fscache.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/fscache.c - CIFS filesystem cache interface
+ * CIFS filesystem cache interface
*
* Copyright (c) 2010 Novell, Inc.
* Author(s): Suresh Jayaraman <sjayaraman@suse.de>
similarity index 98%
rename from fs/cifs/fscache.h
rename to fs/smbfs/fscache.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/fscache.h - CIFS filesystem cache interface definitions
+ * CIFS filesystem cache interface definitions
*
* Copyright (c) 2010 Novell, Inc.
* Authors(s): Suresh Jayaraman (sjayaraman@suse.de>
similarity index 99%
rename from fs/cifs/inode.c
rename to fs/smbfs/inode.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/inode.c
*
* Copyright (C) International Business Machines Corp., 2002,2010
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/ioctl.c
rename to fs/smbfs/ioctl.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/ioctl.c
*
* vfs operations that deal with io control
*
similarity index 99%
rename from fs/cifs/link.c
rename to fs/smbfs/link.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/link.c
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/misc.c
rename to fs/smbfs/misc.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/misc.c
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 98%
rename from fs/cifs/netlink.c
rename to fs/smbfs/netlink.c
@@ -6,7 +6,7 @@
*/
#include <net/genetlink.h>
-#include <uapi/linux/cifs/cifs_netlink.h>
+#include <uapi/linux/smbfs/cifs_netlink.h>
#include "netlink.h"
#include "cifsglob.h"
similarity index 100%
rename from fs/cifs/netlink.h
rename to fs/smbfs/netlink.h
similarity index 99%
rename from fs/cifs/netmisc.c
rename to fs/smbfs/netmisc.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * fs/cifs/netmisc.c
*
* Copyright (c) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/nterr.c
rename to fs/smbfs/nterr.c
similarity index 100%
rename from fs/cifs/nterr.h
rename to fs/smbfs/nterr.h
similarity index 99%
rename from fs/cifs/ntlmssp.h
rename to fs/smbfs/ntlmssp.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/ntlmssp.h
*
* Copyright (c) International Business Machines Corp., 2002,2007
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 99%
rename from fs/cifs/readdir.c
rename to fs/smbfs/readdir.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/readdir.c
*
* Directory search handling
*
similarity index 98%
rename from fs/cifs/rfc1002pdu.h
rename to fs/smbfs/rfc1002pdu.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/rfc1002pdu.h
*
* Protocol Data Unit definitions for RFC 1001/1002 support
*
similarity index 99%
rename from fs/cifs/sess.c
rename to fs/smbfs/sess.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/sess.c
*
* SMB/CIFS session setup handling routines
*
similarity index 100%
rename from fs/cifs/smb1ops.c
rename to fs/smbfs/smb1ops.c
similarity index 99%
rename from fs/cifs/smb2file.c
rename to fs/smbfs/smb2file.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/smb2file.c
*
* Copyright (C) International Business Machines Corp., 2002, 2011
* Author(s): Steve French (sfrench@us.ibm.com),
similarity index 98%
rename from fs/cifs/smb2glob.h
rename to fs/smbfs/smb2glob.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/smb2glob.h
*
* Definitions for various global variables and structures
*
similarity index 99%
rename from fs/cifs/smb2inode.c
rename to fs/smbfs/smb2inode.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/smb2inode.c
*
* Copyright (C) International Business Machines Corp., 2002, 2011
* Etersoft, 2012
similarity index 100%
rename from fs/cifs/smb2maperror.c
rename to fs/smbfs/smb2maperror.c
similarity index 99%
rename from fs/cifs/smb2misc.c
rename to fs/smbfs/smb2misc.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/smb2misc.c
*
* Copyright (C) International Business Machines Corp., 2002,2011
* Etersoft, 2012
similarity index 100%
rename from fs/cifs/smb2ops.c
rename to fs/smbfs/smb2ops.c
similarity index 99%
rename from fs/cifs/smb2pdu.c
rename to fs/smbfs/smb2pdu.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/smb2pdu.c
*
* Copyright (C) International Business Machines Corp., 2009, 2013
* Etersoft, 2012
similarity index 99%
rename from fs/cifs/smb2pdu.h
rename to fs/smbfs/smb2pdu.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/smb2pdu.h
*
* Copyright (c) International Business Machines Corp., 2009, 2013
* Etersoft, 2012
similarity index 99%
rename from fs/cifs/smb2proto.h
rename to fs/smbfs/smb2proto.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/smb2proto.h
*
* Copyright (c) International Business Machines Corp., 2002, 2011
* Etersoft, 2012
similarity index 99%
rename from fs/cifs/smb2status.h
rename to fs/smbfs/smb2status.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/smb2status.h
*
* SMB2 Status code (network error) definitions
* Definitions are from MS-ERREF
similarity index 99%
rename from fs/cifs/smb2transport.c
rename to fs/smbfs/smb2transport.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/smb2transport.c
*
* Copyright (C) International Business Machines Corp., 2002, 2011
* Etersoft, 2012
similarity index 100%
rename from fs/cifs/smbdirect.c
rename to fs/smbfs/smbdirect.c
similarity index 100%
rename from fs/cifs/smbdirect.h
rename to fs/smbfs/smbdirect.h
similarity index 100%
rename from fs/cifs/smbencrypt.c
rename to fs/smbfs/smbencrypt.c
similarity index 99%
rename from fs/cifs/smberr.h
rename to fs/smbfs/smberr.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1 */
/*
- * fs/cifs/smberr.h
*
* Copyright (c) International Business Machines Corp., 2002,2004
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/trace.c
rename to fs/smbfs/trace.c
similarity index 100%
rename from fs/cifs/trace.h
rename to fs/smbfs/trace.h
similarity index 99%
rename from fs/cifs/transport.c
rename to fs/smbfs/transport.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/transport.c
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 100%
rename from fs/cifs/unc.c
rename to fs/smbfs/unc.c
similarity index 99%
rename from fs/cifs/winucase.c
rename to fs/smbfs/winucase.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * fs/cifs/winucase.c
*
* Copyright (c) Jeffrey Layton <jlayton@redhat.com>, 2013
*
similarity index 99%
rename from fs/cifs/xattr.c
rename to fs/smbfs/xattr.c
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: LGPL-2.1
/*
- * fs/cifs/xattr.c
*
* Copyright (c) International Business Machines Corp., 2003, 2007
* Author(s): Steve French (sfrench@us.ibm.com)
similarity index 96%
rename from include/uapi/linux/cifs/cifs_mount.h
rename to include/uapi/linux/smbfs/cifs_mount.h
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/*
- * include/uapi/linux/cifs/cifs_mount.h
*
* Author(s): Scott Lovenberg (scott.lovenberg@gmail.com)
*
similarity index 100%
rename from include/uapi/linux/cifs/cifs_netlink.h
rename to include/uapi/linux/smbfs/cifs_netlink.h
--
2.30.2