ksmbd: move fs/cifsd to fs/ksmbd
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 24 Jun 2021 01:34:11 +0000 (10:34 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 28 Jun 2021 07:28:31 +0000 (16:28 +0900)
Move fs/cifsd to fs/ksmbd and rename the remaining cifsd name to ksmbd.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
63 files changed:
Documentation/filesystems/cifs/index.rst
Documentation/filesystems/cifs/ksmbd.rst [moved from Documentation/filesystems/cifs/cifsd.rst with 98% similarity]
fs/Kconfig
fs/Makefile
fs/ksmbd/Kconfig [moved from fs/cifsd/Kconfig with 81% similarity]
fs/ksmbd/Makefile [moved from fs/cifsd/Makefile with 100% similarity]
fs/ksmbd/asn1.c [moved from fs/cifsd/asn1.c with 100% similarity]
fs/ksmbd/asn1.h [moved from fs/cifsd/asn1.h with 100% similarity]
fs/ksmbd/auth.c [moved from fs/cifsd/auth.c with 100% similarity]
fs/ksmbd/auth.h [moved from fs/cifsd/auth.h with 100% similarity]
fs/ksmbd/connection.c [moved from fs/cifsd/connection.c with 100% similarity]
fs/ksmbd/connection.h [moved from fs/cifsd/connection.h with 100% similarity]
fs/ksmbd/crypto_ctx.c [moved from fs/cifsd/crypto_ctx.c with 100% similarity]
fs/ksmbd/crypto_ctx.h [moved from fs/cifsd/crypto_ctx.h with 100% similarity]
fs/ksmbd/glob.h [moved from fs/cifsd/glob.h with 100% similarity]
fs/ksmbd/ksmbd_server.h [moved from fs/cifsd/ksmbd_server.h with 100% similarity]
fs/ksmbd/ksmbd_spnego_negtokeninit.asn1 [moved from fs/cifsd/ksmbd_spnego_negtokeninit.asn1 with 100% similarity]
fs/ksmbd/ksmbd_spnego_negtokentarg.asn1 [moved from fs/cifsd/ksmbd_spnego_negtokentarg.asn1 with 100% similarity]
fs/ksmbd/ksmbd_work.c [moved from fs/cifsd/ksmbd_work.c with 100% similarity]
fs/ksmbd/ksmbd_work.h [moved from fs/cifsd/ksmbd_work.h with 100% similarity]
fs/ksmbd/mgmt/ksmbd_ida.c [moved from fs/cifsd/mgmt/ksmbd_ida.c with 100% similarity]
fs/ksmbd/mgmt/ksmbd_ida.h [moved from fs/cifsd/mgmt/ksmbd_ida.h with 100% similarity]
fs/ksmbd/mgmt/share_config.c [moved from fs/cifsd/mgmt/share_config.c with 100% similarity]
fs/ksmbd/mgmt/share_config.h [moved from fs/cifsd/mgmt/share_config.h with 100% similarity]
fs/ksmbd/mgmt/tree_connect.c [moved from fs/cifsd/mgmt/tree_connect.c with 100% similarity]
fs/ksmbd/mgmt/tree_connect.h [moved from fs/cifsd/mgmt/tree_connect.h with 100% similarity]
fs/ksmbd/mgmt/user_config.c [moved from fs/cifsd/mgmt/user_config.c with 100% similarity]
fs/ksmbd/mgmt/user_config.h [moved from fs/cifsd/mgmt/user_config.h with 100% similarity]
fs/ksmbd/mgmt/user_session.c [moved from fs/cifsd/mgmt/user_session.c with 100% similarity]
fs/ksmbd/mgmt/user_session.h [moved from fs/cifsd/mgmt/user_session.h with 100% similarity]
fs/ksmbd/misc.c [moved from fs/cifsd/misc.c with 100% similarity]
fs/ksmbd/misc.h [moved from fs/cifsd/misc.h with 100% similarity]
fs/ksmbd/ndr.c [moved from fs/cifsd/ndr.c with 100% similarity]
fs/ksmbd/ndr.h [moved from fs/cifsd/ndr.h with 100% similarity]
fs/ksmbd/nterr.h [moved from fs/cifsd/nterr.h with 100% similarity]
fs/ksmbd/ntlmssp.h [moved from fs/cifsd/ntlmssp.h with 100% similarity]
fs/ksmbd/oplock.c [moved from fs/cifsd/oplock.c with 100% similarity]
fs/ksmbd/oplock.h [moved from fs/cifsd/oplock.h with 100% similarity]
fs/ksmbd/server.c [moved from fs/cifsd/server.c with 100% similarity]
fs/ksmbd/server.h [moved from fs/cifsd/server.h with 100% similarity]
fs/ksmbd/smb2misc.c [moved from fs/cifsd/smb2misc.c with 100% similarity]
fs/ksmbd/smb2ops.c [moved from fs/cifsd/smb2ops.c with 100% similarity]
fs/ksmbd/smb2pdu.c [moved from fs/cifsd/smb2pdu.c with 100% similarity]
fs/ksmbd/smb2pdu.h [moved from fs/cifsd/smb2pdu.h with 100% similarity]
fs/ksmbd/smb_common.c [moved from fs/cifsd/smb_common.c with 100% similarity]
fs/ksmbd/smb_common.h [moved from fs/cifsd/smb_common.h with 100% similarity]
fs/ksmbd/smbacl.c [moved from fs/cifsd/smbacl.c with 100% similarity]
fs/ksmbd/smbacl.h [moved from fs/cifsd/smbacl.h with 100% similarity]
fs/ksmbd/smbfsctl.h [moved from fs/cifsd/smbfsctl.h with 100% similarity]
fs/ksmbd/smbstatus.h [moved from fs/cifsd/smbstatus.h with 100% similarity]
fs/ksmbd/transport_ipc.c [moved from fs/cifsd/transport_ipc.c with 100% similarity]
fs/ksmbd/transport_ipc.h [moved from fs/cifsd/transport_ipc.h with 100% similarity]
fs/ksmbd/transport_rdma.c [moved from fs/cifsd/transport_rdma.c with 100% similarity]
fs/ksmbd/transport_rdma.h [moved from fs/cifsd/transport_rdma.h with 100% similarity]
fs/ksmbd/transport_tcp.c [moved from fs/cifsd/transport_tcp.c with 100% similarity]
fs/ksmbd/transport_tcp.h [moved from fs/cifsd/transport_tcp.h with 100% similarity]
fs/ksmbd/unicode.c [moved from fs/cifsd/unicode.c with 100% similarity]
fs/ksmbd/unicode.h [moved from fs/cifsd/unicode.h with 100% similarity]
fs/ksmbd/uniupr.h [moved from fs/cifsd/uniupr.h with 100% similarity]
fs/ksmbd/vfs.c [moved from fs/cifsd/vfs.c with 100% similarity]
fs/ksmbd/vfs.h [moved from fs/cifsd/vfs.h with 100% similarity]
fs/ksmbd/vfs_cache.c [moved from fs/cifsd/vfs_cache.c with 100% similarity]
fs/ksmbd/vfs_cache.h [moved from fs/cifsd/vfs_cache.h with 100% similarity]

index e762586..1c8597a 100644 (file)
@@ -6,5 +6,5 @@ CIFS
 .. toctree::
    :maxdepth: 1
 
-   cifsd
+   ksmbd
    cifsroot
similarity index 98%
rename from Documentation/filesystems/cifs/cifsd.rst
rename to Documentation/filesystems/cifs/ksmbd.rst
index 01a0be2..1e111ef 100644 (file)
@@ -1,13 +1,13 @@
 .. SPDX-License-Identifier: GPL-2.0
 
 ==========================
-CIFSD - SMB3 Kernel Server
+KSMBD - SMB3 Kernel Server
 ==========================
 
-CIFSD is a linux kernel server which implements SMB3 protocol in kernel space
+KSMBD is a linux kernel server which implements SMB3 protocol in kernel space
 for sharing files over network.
 
-CIFSD architecture
+KSMBD architecture
 ==================
 
 The subset of performance related operations belong in kernelspace and
@@ -60,7 +60,7 @@ NetServerGetInfo. Complete DCE/RPC response is prepared from the user space
 and passed over to the associated kernel thread for the client.
 
 
-CIFSD Feature Status
+KSMBD Feature Status
 ====================
 
 ============================== =================================================
@@ -138,7 +138,7 @@ How to run
 
 6. Access share from Windows or Linux using CIFS
 
-Shutdown CIFSD
+Shutdown KSMBD
 ==============
 
 1. kill user and kernel space daemon
index 7462761..720c38f 100644 (file)
@@ -344,7 +344,7 @@ config NFS_V4_2_SSC_HELPER
 source "net/sunrpc/Kconfig"
 source "fs/ceph/Kconfig"
 source "fs/cifs/Kconfig"
-source "fs/cifsd/Kconfig"
+source "fs/ksmbd/Kconfig"
 source "fs/coda/Kconfig"
 source "fs/afs/Kconfig"
 source "fs/9p/Kconfig"
index 542a773..e03a048 100644 (file)
@@ -98,7 +98,7 @@ obj-$(CONFIG_NLS)             += nls/
 obj-$(CONFIG_UNICODE)          += unicode/
 obj-$(CONFIG_SYSV_FS)          += sysv/
 obj-$(CONFIG_CIFS)             += cifs/
-obj-$(CONFIG_SMB_SERVER)       += cifsd/
+obj-$(CONFIG_SMB_SERVER)       += ksmbd/
 obj-$(CONFIG_HPFS_FS)          += hpfs/
 obj-$(CONFIG_NTFS_FS)          += ntfs/
 obj-$(CONFIG_UFS_FS)           += ufs/
similarity index 81%
rename from fs/cifsd/Kconfig
rename to fs/ksmbd/Kconfig
index 796f928..e9a5ac0 100644 (file)
@@ -1,5 +1,5 @@
 config SMB_SERVER
-       tristate "SMB server support (EXPERIMENTAL)"
+       tristate "SMB3 server support (EXPERIMENTAL)"
        depends on INET
        depends on MULTIUSER
        depends on FILE_LOCKING
@@ -31,13 +31,13 @@ config SMB_SERVER
          case you can choose N here.
 
          You also need to install user space programs which can be found
-         in cifsd-tools, available from
-         https://github.com/cifsd-team/cifsd-tools.
-         More detail about how to run the cifsd kernel server is
+         in ksmbd-tools, available from
+         https://github.com/cifsd-team/ksmbd-tools.
+         More detail about how to run the ksmbd kernel server is
          available via README file
-         (https://github.com/cifsd-team/cifsd-tools/blob/master/README).
+         (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
 
-         cifsd kernel server includes support for auto-negotiation,
+         ksmbd kernel server includes support for auto-negotiation,
          Secure negotiate, Pre-authentication integrity, oplock/lease,
          compound requests, multi-credit, packet signing, RDMA(smbdirect),
          smb3 encryption, copy-offload, secure per-user session
@@ -61,7 +61,7 @@ config SMB_SERVER_CHECK_CAP_NET_ADMIN
        default y
 
        help
-         Prevent unprivileged processes to start the cifsd kernel server.
+         Prevent unprivileged processes to start the ksmbd kernel server.
 
 config SMB_SERVER_KERBEROS5
        bool "Support for Kerberos 5"
similarity index 100%
rename from fs/cifsd/Makefile
rename to fs/ksmbd/Makefile
similarity index 100%
rename from fs/cifsd/asn1.c
rename to fs/ksmbd/asn1.c
similarity index 100%
rename from fs/cifsd/asn1.h
rename to fs/ksmbd/asn1.h
similarity index 100%
rename from fs/cifsd/auth.c
rename to fs/ksmbd/auth.c
similarity index 100%
rename from fs/cifsd/auth.h
rename to fs/ksmbd/auth.h
similarity index 100%
rename from fs/cifsd/connection.c
rename to fs/ksmbd/connection.c
similarity index 100%
rename from fs/cifsd/connection.h
rename to fs/ksmbd/connection.h
similarity index 100%
rename from fs/cifsd/crypto_ctx.c
rename to fs/ksmbd/crypto_ctx.c
similarity index 100%
rename from fs/cifsd/crypto_ctx.h
rename to fs/ksmbd/crypto_ctx.h
similarity index 100%
rename from fs/cifsd/glob.h
rename to fs/ksmbd/glob.h
similarity index 100%
rename from fs/cifsd/ksmbd_work.c
rename to fs/ksmbd/ksmbd_work.c
similarity index 100%
rename from fs/cifsd/ksmbd_work.h
rename to fs/ksmbd/ksmbd_work.h
similarity index 100%
rename from fs/cifsd/misc.c
rename to fs/ksmbd/misc.c
similarity index 100%
rename from fs/cifsd/misc.h
rename to fs/ksmbd/misc.h
similarity index 100%
rename from fs/cifsd/ndr.c
rename to fs/ksmbd/ndr.c
similarity index 100%
rename from fs/cifsd/ndr.h
rename to fs/ksmbd/ndr.h
similarity index 100%
rename from fs/cifsd/nterr.h
rename to fs/ksmbd/nterr.h
similarity index 100%
rename from fs/cifsd/ntlmssp.h
rename to fs/ksmbd/ntlmssp.h
similarity index 100%
rename from fs/cifsd/oplock.c
rename to fs/ksmbd/oplock.c
similarity index 100%
rename from fs/cifsd/oplock.h
rename to fs/ksmbd/oplock.h
similarity index 100%
rename from fs/cifsd/server.c
rename to fs/ksmbd/server.c
similarity index 100%
rename from fs/cifsd/server.h
rename to fs/ksmbd/server.h
similarity index 100%
rename from fs/cifsd/smb2misc.c
rename to fs/ksmbd/smb2misc.c
similarity index 100%
rename from fs/cifsd/smb2ops.c
rename to fs/ksmbd/smb2ops.c
similarity index 100%
rename from fs/cifsd/smb2pdu.c
rename to fs/ksmbd/smb2pdu.c
similarity index 100%
rename from fs/cifsd/smb2pdu.h
rename to fs/ksmbd/smb2pdu.h
similarity index 100%
rename from fs/cifsd/smb_common.c
rename to fs/ksmbd/smb_common.c
similarity index 100%
rename from fs/cifsd/smb_common.h
rename to fs/ksmbd/smb_common.h
similarity index 100%
rename from fs/cifsd/smbacl.c
rename to fs/ksmbd/smbacl.c
similarity index 100%
rename from fs/cifsd/smbacl.h
rename to fs/ksmbd/smbacl.h
similarity index 100%
rename from fs/cifsd/smbfsctl.h
rename to fs/ksmbd/smbfsctl.h
similarity index 100%
rename from fs/cifsd/smbstatus.h
rename to fs/ksmbd/smbstatus.h
similarity index 100%
rename from fs/cifsd/unicode.c
rename to fs/ksmbd/unicode.c
similarity index 100%
rename from fs/cifsd/unicode.h
rename to fs/ksmbd/unicode.h
similarity index 100%
rename from fs/cifsd/uniupr.h
rename to fs/ksmbd/uniupr.h
similarity index 100%
rename from fs/cifsd/vfs.c
rename to fs/ksmbd/vfs.c
similarity index 100%
rename from fs/cifsd/vfs.h
rename to fs/ksmbd/vfs.h
similarity index 100%
rename from fs/cifsd/vfs_cache.c
rename to fs/ksmbd/vfs_cache.c
similarity index 100%
rename from fs/cifsd/vfs_cache.h
rename to fs/ksmbd/vfs_cache.h