smb: move client and server files to common directory fs/smb
authorSteve French <stfrench@microsoft.com>
Mon, 22 May 2023 01:46:30 +0000 (20:46 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 May 2023 21:29:21 +0000 (16:29 -0500)
commit38c8a9a52082579090e34c033d439ed2cd1a462d
treeca6c3bf5b2b912f32735c1aa0a045cd21a47a205
parentcb8b02fd6343228966324528adf920bfb8b8e681
smb: move client and server files to common directory fs/smb

Move CIFS/SMB3 related client and server files (cifs.ko and ksmbd.ko
and helper modules) to new fs/smb subdirectory:

   fs/cifs --> fs/smb/client
   fs/ksmbd --> fs/smb/server
   fs/smbfs_common --> fs/smb/common

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
293 files changed:
MAINTAINERS
fs/Kconfig
fs/Makefile
fs/cifs/Kconfig [deleted file]
fs/cifs/Makefile [deleted file]
fs/cifs/asn1.c [deleted file]
fs/cifs/cached_dir.c [deleted file]
fs/cifs/cached_dir.h [deleted file]
fs/cifs/cifs_debug.c [deleted file]
fs/cifs/cifs_debug.h [deleted file]
fs/cifs/cifs_dfs_ref.c [deleted file]
fs/cifs/cifs_fs_sb.h [deleted file]
fs/cifs/cifs_ioctl.h [deleted file]
fs/cifs/cifs_spnego.c [deleted file]
fs/cifs/cifs_spnego.h [deleted file]
fs/cifs/cifs_spnego_negtokeninit.asn1 [deleted file]
fs/cifs/cifs_swn.c [deleted file]
fs/cifs/cifs_swn.h [deleted file]
fs/cifs/cifs_unicode.c [deleted file]
fs/cifs/cifs_unicode.h [deleted file]
fs/cifs/cifs_uniupr.h [deleted file]
fs/cifs/cifsacl.c [deleted file]
fs/cifs/cifsacl.h [deleted file]
fs/cifs/cifsencrypt.c [deleted file]
fs/cifs/cifsfs.c [deleted file]
fs/cifs/cifsfs.h [deleted file]
fs/cifs/cifsglob.h [deleted file]
fs/cifs/cifspdu.h [deleted file]
fs/cifs/cifsproto.h [deleted file]
fs/cifs/cifsroot.c [deleted file]
fs/cifs/cifssmb.c [deleted file]
fs/cifs/connect.c [deleted file]
fs/cifs/dfs.c [deleted file]
fs/cifs/dfs.h [deleted file]
fs/cifs/dfs_cache.c [deleted file]
fs/cifs/dfs_cache.h [deleted file]
fs/cifs/dir.c [deleted file]
fs/cifs/dns_resolve.c [deleted file]
fs/cifs/dns_resolve.h [deleted file]
fs/cifs/export.c [deleted file]
fs/cifs/file.c [deleted file]
fs/cifs/fs_context.c [deleted file]
fs/cifs/fs_context.h [deleted file]
fs/cifs/fscache.c [deleted file]
fs/cifs/fscache.h [deleted file]
fs/cifs/inode.c [deleted file]
fs/cifs/ioctl.c [deleted file]
fs/cifs/link.c [deleted file]
fs/cifs/misc.c [deleted file]
fs/cifs/netlink.c [deleted file]
fs/cifs/netlink.h [deleted file]
fs/cifs/netmisc.c [deleted file]
fs/cifs/nterr.c [deleted file]
fs/cifs/nterr.h [deleted file]
fs/cifs/ntlmssp.h [deleted file]
fs/cifs/readdir.c [deleted file]
fs/cifs/rfc1002pdu.h [deleted file]
fs/cifs/sess.c [deleted file]
fs/cifs/smb1ops.c [deleted file]
fs/cifs/smb2file.c [deleted file]
fs/cifs/smb2glob.h [deleted file]
fs/cifs/smb2inode.c [deleted file]
fs/cifs/smb2maperror.c [deleted file]
fs/cifs/smb2misc.c [deleted file]
fs/cifs/smb2ops.c [deleted file]
fs/cifs/smb2pdu.c [deleted file]
fs/cifs/smb2pdu.h [deleted file]
fs/cifs/smb2proto.h [deleted file]
fs/cifs/smb2status.h [deleted file]
fs/cifs/smb2transport.c [deleted file]
fs/cifs/smbdirect.c [deleted file]
fs/cifs/smbdirect.h [deleted file]
fs/cifs/smbencrypt.c [deleted file]
fs/cifs/smberr.h [deleted file]
fs/cifs/trace.c [deleted file]
fs/cifs/trace.h [deleted file]
fs/cifs/transport.c [deleted file]
fs/cifs/unc.c [deleted file]
fs/cifs/winucase.c [deleted file]
fs/cifs/xattr.c [deleted file]
fs/ksmbd/Kconfig [deleted file]
fs/ksmbd/Makefile [deleted file]
fs/ksmbd/asn1.c [deleted file]
fs/ksmbd/asn1.h [deleted file]
fs/ksmbd/auth.c [deleted file]
fs/ksmbd/auth.h [deleted file]
fs/ksmbd/connection.c [deleted file]
fs/ksmbd/connection.h [deleted file]
fs/ksmbd/crypto_ctx.c [deleted file]
fs/ksmbd/crypto_ctx.h [deleted file]
fs/ksmbd/glob.h [deleted file]
fs/ksmbd/ksmbd_netlink.h [deleted file]
fs/ksmbd/ksmbd_spnego_negtokeninit.asn1 [deleted file]
fs/ksmbd/ksmbd_spnego_negtokentarg.asn1 [deleted file]
fs/ksmbd/ksmbd_work.c [deleted file]
fs/ksmbd/ksmbd_work.h [deleted file]
fs/ksmbd/mgmt/ksmbd_ida.c [deleted file]
fs/ksmbd/mgmt/ksmbd_ida.h [deleted file]
fs/ksmbd/mgmt/share_config.c [deleted file]
fs/ksmbd/mgmt/share_config.h [deleted file]
fs/ksmbd/mgmt/tree_connect.c [deleted file]
fs/ksmbd/mgmt/tree_connect.h [deleted file]
fs/ksmbd/mgmt/user_config.c [deleted file]
fs/ksmbd/mgmt/user_config.h [deleted file]
fs/ksmbd/mgmt/user_session.c [deleted file]
fs/ksmbd/mgmt/user_session.h [deleted file]
fs/ksmbd/misc.c [deleted file]
fs/ksmbd/misc.h [deleted file]
fs/ksmbd/ndr.c [deleted file]
fs/ksmbd/ndr.h [deleted file]
fs/ksmbd/nterr.h [deleted file]
fs/ksmbd/ntlmssp.h [deleted file]
fs/ksmbd/oplock.c [deleted file]
fs/ksmbd/oplock.h [deleted file]
fs/ksmbd/server.c [deleted file]
fs/ksmbd/server.h [deleted file]
fs/ksmbd/smb2misc.c [deleted file]
fs/ksmbd/smb2ops.c [deleted file]
fs/ksmbd/smb2pdu.c [deleted file]
fs/ksmbd/smb2pdu.h [deleted file]
fs/ksmbd/smb_common.c [deleted file]
fs/ksmbd/smb_common.h [deleted file]
fs/ksmbd/smbacl.c [deleted file]
fs/ksmbd/smbacl.h [deleted file]
fs/ksmbd/smbfsctl.h [deleted file]
fs/ksmbd/smbstatus.h [deleted file]
fs/ksmbd/transport_ipc.c [deleted file]
fs/ksmbd/transport_ipc.h [deleted file]
fs/ksmbd/transport_rdma.c [deleted file]
fs/ksmbd/transport_rdma.h [deleted file]
fs/ksmbd/transport_tcp.c [deleted file]
fs/ksmbd/transport_tcp.h [deleted file]
fs/ksmbd/unicode.c [deleted file]
fs/ksmbd/unicode.h [deleted file]
fs/ksmbd/uniupr.h [deleted file]
fs/ksmbd/vfs.c [deleted file]
fs/ksmbd/vfs.h [deleted file]
fs/ksmbd/vfs_cache.c [deleted file]
fs/ksmbd/vfs_cache.h [deleted file]
fs/ksmbd/xattr.h [deleted file]
fs/smb/Kconfig [new file with mode: 0644]
fs/smb/Makefile [new file with mode: 0644]
fs/smb/client/Kconfig [new file with mode: 0644]
fs/smb/client/Makefile [new file with mode: 0644]
fs/smb/client/asn1.c [new file with mode: 0644]
fs/smb/client/cached_dir.c [new file with mode: 0644]
fs/smb/client/cached_dir.h [new file with mode: 0644]
fs/smb/client/cifs_debug.c [new file with mode: 0644]
fs/smb/client/cifs_debug.h [new file with mode: 0644]
fs/smb/client/cifs_dfs_ref.c [new file with mode: 0644]
fs/smb/client/cifs_fs_sb.h [new file with mode: 0644]
fs/smb/client/cifs_ioctl.h [new file with mode: 0644]
fs/smb/client/cifs_spnego.c [new file with mode: 0644]
fs/smb/client/cifs_spnego.h [new file with mode: 0644]
fs/smb/client/cifs_spnego_negtokeninit.asn1 [new file with mode: 0644]
fs/smb/client/cifs_swn.c [new file with mode: 0644]
fs/smb/client/cifs_swn.h [new file with mode: 0644]
fs/smb/client/cifs_unicode.c [new file with mode: 0644]
fs/smb/client/cifs_unicode.h [new file with mode: 0644]
fs/smb/client/cifs_uniupr.h [new file with mode: 0644]
fs/smb/client/cifsacl.c [new file with mode: 0644]
fs/smb/client/cifsacl.h [new file with mode: 0644]
fs/smb/client/cifsencrypt.c [new file with mode: 0644]
fs/smb/client/cifsfs.c [new file with mode: 0644]
fs/smb/client/cifsfs.h [new file with mode: 0644]
fs/smb/client/cifsglob.h [new file with mode: 0644]
fs/smb/client/cifspdu.h [new file with mode: 0644]
fs/smb/client/cifsproto.h [new file with mode: 0644]
fs/smb/client/cifsroot.c [new file with mode: 0644]
fs/smb/client/cifssmb.c [new file with mode: 0644]
fs/smb/client/connect.c [new file with mode: 0644]
fs/smb/client/dfs.c [new file with mode: 0644]
fs/smb/client/dfs.h [new file with mode: 0644]
fs/smb/client/dfs_cache.c [new file with mode: 0644]
fs/smb/client/dfs_cache.h [new file with mode: 0644]
fs/smb/client/dir.c [new file with mode: 0644]
fs/smb/client/dns_resolve.c [new file with mode: 0644]
fs/smb/client/dns_resolve.h [new file with mode: 0644]
fs/smb/client/export.c [new file with mode: 0644]
fs/smb/client/file.c [new file with mode: 0644]
fs/smb/client/fs_context.c [new file with mode: 0644]
fs/smb/client/fs_context.h [new file with mode: 0644]
fs/smb/client/fscache.c [new file with mode: 0644]
fs/smb/client/fscache.h [new file with mode: 0644]
fs/smb/client/inode.c [new file with mode: 0644]
fs/smb/client/ioctl.c [new file with mode: 0644]
fs/smb/client/link.c [new file with mode: 0644]
fs/smb/client/misc.c [new file with mode: 0644]
fs/smb/client/netlink.c [new file with mode: 0644]
fs/smb/client/netlink.h [new file with mode: 0644]
fs/smb/client/netmisc.c [new file with mode: 0644]
fs/smb/client/nterr.c [new file with mode: 0644]
fs/smb/client/nterr.h [new file with mode: 0644]
fs/smb/client/ntlmssp.h [new file with mode: 0644]
fs/smb/client/readdir.c [new file with mode: 0644]
fs/smb/client/rfc1002pdu.h [new file with mode: 0644]
fs/smb/client/sess.c [new file with mode: 0644]
fs/smb/client/smb1ops.c [new file with mode: 0644]
fs/smb/client/smb2file.c [new file with mode: 0644]
fs/smb/client/smb2glob.h [new file with mode: 0644]
fs/smb/client/smb2inode.c [new file with mode: 0644]
fs/smb/client/smb2maperror.c [new file with mode: 0644]
fs/smb/client/smb2misc.c [new file with mode: 0644]
fs/smb/client/smb2ops.c [new file with mode: 0644]
fs/smb/client/smb2pdu.c [new file with mode: 0644]
fs/smb/client/smb2pdu.h [new file with mode: 0644]
fs/smb/client/smb2proto.h [new file with mode: 0644]
fs/smb/client/smb2status.h [new file with mode: 0644]
fs/smb/client/smb2transport.c [new file with mode: 0644]
fs/smb/client/smbdirect.c [new file with mode: 0644]
fs/smb/client/smbdirect.h [new file with mode: 0644]
fs/smb/client/smbencrypt.c [new file with mode: 0644]
fs/smb/client/smberr.h [new file with mode: 0644]
fs/smb/client/trace.c [new file with mode: 0644]
fs/smb/client/trace.h [new file with mode: 0644]
fs/smb/client/transport.c [new file with mode: 0644]
fs/smb/client/unc.c [new file with mode: 0644]
fs/smb/client/winucase.c [new file with mode: 0644]
fs/smb/client/xattr.c [new file with mode: 0644]
fs/smb/common/Makefile [new file with mode: 0644]
fs/smb/common/arc4.h [new file with mode: 0644]
fs/smb/common/cifs_arc4.c [new file with mode: 0644]
fs/smb/common/cifs_md4.c [new file with mode: 0644]
fs/smb/common/md4.h [new file with mode: 0644]
fs/smb/common/smb2pdu.h [new file with mode: 0644]
fs/smb/common/smbfsctl.h [new file with mode: 0644]
fs/smb/server/Kconfig [new file with mode: 0644]
fs/smb/server/Makefile [new file with mode: 0644]
fs/smb/server/asn1.c [new file with mode: 0644]
fs/smb/server/asn1.h [new file with mode: 0644]
fs/smb/server/auth.c [new file with mode: 0644]
fs/smb/server/auth.h [new file with mode: 0644]
fs/smb/server/connection.c [new file with mode: 0644]
fs/smb/server/connection.h [new file with mode: 0644]
fs/smb/server/crypto_ctx.c [new file with mode: 0644]
fs/smb/server/crypto_ctx.h [new file with mode: 0644]
fs/smb/server/glob.h [new file with mode: 0644]
fs/smb/server/ksmbd_netlink.h [new file with mode: 0644]
fs/smb/server/ksmbd_spnego_negtokeninit.asn1 [new file with mode: 0644]
fs/smb/server/ksmbd_spnego_negtokentarg.asn1 [new file with mode: 0644]
fs/smb/server/ksmbd_work.c [new file with mode: 0644]
fs/smb/server/ksmbd_work.h [new file with mode: 0644]
fs/smb/server/mgmt/ksmbd_ida.c [new file with mode: 0644]
fs/smb/server/mgmt/ksmbd_ida.h [new file with mode: 0644]
fs/smb/server/mgmt/share_config.c [new file with mode: 0644]
fs/smb/server/mgmt/share_config.h [new file with mode: 0644]
fs/smb/server/mgmt/tree_connect.c [new file with mode: 0644]
fs/smb/server/mgmt/tree_connect.h [new file with mode: 0644]
fs/smb/server/mgmt/user_config.c [new file with mode: 0644]
fs/smb/server/mgmt/user_config.h [new file with mode: 0644]
fs/smb/server/mgmt/user_session.c [new file with mode: 0644]
fs/smb/server/mgmt/user_session.h [new file with mode: 0644]
fs/smb/server/misc.c [new file with mode: 0644]
fs/smb/server/misc.h [new file with mode: 0644]
fs/smb/server/ndr.c [new file with mode: 0644]
fs/smb/server/ndr.h [new file with mode: 0644]
fs/smb/server/nterr.h [new file with mode: 0644]
fs/smb/server/ntlmssp.h [new file with mode: 0644]
fs/smb/server/oplock.c [new file with mode: 0644]
fs/smb/server/oplock.h [new file with mode: 0644]
fs/smb/server/server.c [new file with mode: 0644]
fs/smb/server/server.h [new file with mode: 0644]
fs/smb/server/smb2misc.c [new file with mode: 0644]
fs/smb/server/smb2ops.c [new file with mode: 0644]
fs/smb/server/smb2pdu.c [new file with mode: 0644]
fs/smb/server/smb2pdu.h [new file with mode: 0644]
fs/smb/server/smb_common.c [new file with mode: 0644]
fs/smb/server/smb_common.h [new file with mode: 0644]
fs/smb/server/smbacl.c [new file with mode: 0644]
fs/smb/server/smbacl.h [new file with mode: 0644]
fs/smb/server/smbfsctl.h [new file with mode: 0644]
fs/smb/server/smbstatus.h [new file with mode: 0644]
fs/smb/server/transport_ipc.c [new file with mode: 0644]
fs/smb/server/transport_ipc.h [new file with mode: 0644]
fs/smb/server/transport_rdma.c [new file with mode: 0644]
fs/smb/server/transport_rdma.h [new file with mode: 0644]
fs/smb/server/transport_tcp.c [new file with mode: 0644]
fs/smb/server/transport_tcp.h [new file with mode: 0644]
fs/smb/server/unicode.c [new file with mode: 0644]
fs/smb/server/unicode.h [new file with mode: 0644]
fs/smb/server/uniupr.h [new file with mode: 0644]
fs/smb/server/vfs.c [new file with mode: 0644]
fs/smb/server/vfs.h [new file with mode: 0644]
fs/smb/server/vfs_cache.c [new file with mode: 0644]
fs/smb/server/vfs_cache.h [new file with mode: 0644]
fs/smb/server/xattr.h [new file with mode: 0644]
fs/smbfs_common/Makefile [deleted file]
fs/smbfs_common/arc4.h [deleted file]
fs/smbfs_common/cifs_arc4.c [deleted file]
fs/smbfs_common/cifs_md4.c [deleted file]
fs/smbfs_common/md4.h [deleted file]
fs/smbfs_common/smb2pdu.h [deleted file]
fs/smbfs_common/smbfsctl.h [deleted file]