@@ -372,7 +372,7 @@ config NFS_V4_2_SSC_HELPER
source "net/sunrpc/Kconfig"
source "fs/ceph/Kconfig"
-source "fs/cifs/Kconfig"
+source "fs/smb/Kconfig"
source "fs/ksmbd/Kconfig"
config SMBFS_COMMON
@@ -99,7 +99,7 @@ obj-$(CONFIG_NLS) += nls/
obj-y += unicode/
obj-$(CONFIG_SYSV_FS) += sysv/
obj-$(CONFIG_SMBFS_COMMON) += smbfs_common/
-obj-$(CONFIG_SMBFS) += cifs/
+obj-$(CONFIG_SMBFS) += smb/
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/smb/Kconfig
similarity index 100%
rename from fs/cifs/Makefile
rename to fs/smb/Makefile
similarity index 100%
rename from fs/cifs/asn1.c
rename to fs/smb/asn1.c
similarity index 100%
rename from fs/cifs/cifs_debug.c
rename to fs/smb/cifs_debug.c
similarity index 100%
rename from fs/cifs/cifs_debug.h
rename to fs/smb/cifs_debug.h
similarity index 100%
rename from fs/cifs/cifs_dfs_ref.c
rename to fs/smb/cifs_dfs_ref.c
similarity index 100%
rename from fs/cifs/cifs_fs_sb.h
rename to fs/smb/cifs_fs_sb.h
similarity index 100%
rename from fs/cifs/cifs_ioctl.h
rename to fs/smb/cifs_ioctl.h
similarity index 100%
rename from fs/cifs/cifs_spnego.c
rename to fs/smb/cifs_spnego.c
similarity index 100%
rename from fs/cifs/cifs_spnego.h
rename to fs/smb/cifs_spnego.h
similarity index 100%
rename from fs/cifs/cifs_spnego_negtokeninit.asn1
rename to fs/smb/cifs_spnego_negtokeninit.asn1
similarity index 100%
rename from fs/cifs/cifs_swn.c
rename to fs/smb/cifs_swn.c
similarity index 100%
rename from fs/cifs/cifs_swn.h
rename to fs/smb/cifs_swn.h
similarity index 100%
rename from fs/cifs/cifs_unicode.c
rename to fs/smb/cifs_unicode.c
similarity index 100%
rename from fs/cifs/cifs_unicode.h
rename to fs/smb/cifs_unicode.h
similarity index 100%
rename from fs/cifs/cifs_uniupr.h
rename to fs/smb/cifs_uniupr.h
similarity index 100%
rename from fs/cifs/cifsacl.c
rename to fs/smb/cifsacl.c
similarity index 100%
rename from fs/cifs/cifsacl.h
rename to fs/smb/cifsacl.h
similarity index 100%
rename from fs/cifs/cifsencrypt.c
rename to fs/smb/cifsencrypt.c
similarity index 100%
rename from fs/cifs/cifsglob.h
rename to fs/smb/cifsglob.h
similarity index 100%
rename from fs/cifs/cifspdu.h
rename to fs/smb/cifspdu.h
similarity index 100%
rename from fs/cifs/cifsproto.h
rename to fs/smb/cifsproto.h
similarity index 100%
rename from fs/cifs/cifsroot.c
rename to fs/smb/cifsroot.c
similarity index 100%
rename from fs/cifs/cifssmb.c
rename to fs/smb/cifssmb.c
similarity index 100%
rename from fs/cifs/connect.c
rename to fs/smb/connect.c
similarity index 100%
rename from fs/cifs/core.c
rename to fs/smb/core.c
similarity index 100%
rename from fs/cifs/dfs_cache.c
rename to fs/smb/dfs_cache.c
similarity index 100%
rename from fs/cifs/dfs_cache.h
rename to fs/smb/dfs_cache.h
similarity index 100%
rename from fs/cifs/dir.c
rename to fs/smb/dir.c
similarity index 100%
rename from fs/cifs/dns_resolve.c
rename to fs/smb/dns_resolve.c
similarity index 100%
rename from fs/cifs/dns_resolve.h
rename to fs/smb/dns_resolve.h
similarity index 100%
rename from fs/cifs/export.c
rename to fs/smb/export.c
similarity index 100%
rename from fs/cifs/file.c
rename to fs/smb/file.c
similarity index 100%
rename from fs/cifs/fs_context.c
rename to fs/smb/fs_context.c
similarity index 100%
rename from fs/cifs/fs_context.h
rename to fs/smb/fs_context.h
similarity index 100%
rename from fs/cifs/fscache.c
rename to fs/smb/fscache.c
similarity index 100%
rename from fs/cifs/fscache.h
rename to fs/smb/fscache.h
similarity index 100%
rename from fs/cifs/inode.c
rename to fs/smb/inode.c
similarity index 100%
rename from fs/cifs/ioctl.c
rename to fs/smb/ioctl.c
similarity index 100%
rename from fs/cifs/link.c
rename to fs/smb/link.c
similarity index 100%
rename from fs/cifs/misc.c
rename to fs/smb/misc.c
similarity index 100%
rename from fs/cifs/netlink.c
rename to fs/smb/netlink.c
similarity index 100%
rename from fs/cifs/netlink.h
rename to fs/smb/netlink.h
similarity index 100%
rename from fs/cifs/netmisc.c
rename to fs/smb/netmisc.c
similarity index 100%
rename from fs/cifs/nterr.c
rename to fs/smb/nterr.c
similarity index 100%
rename from fs/cifs/nterr.h
rename to fs/smb/nterr.h
similarity index 100%
rename from fs/cifs/ntlmssp.h
rename to fs/smb/ntlmssp.h
similarity index 100%
rename from fs/cifs/readdir.c
rename to fs/smb/readdir.c
similarity index 100%
rename from fs/cifs/rfc1002pdu.h
rename to fs/smb/rfc1002pdu.h
similarity index 100%
rename from fs/cifs/sess.c
rename to fs/smb/sess.c
similarity index 100%
rename from fs/cifs/smb1ops.c
rename to fs/smb/smb1ops.c
similarity index 100%
rename from fs/cifs/smb2file.c
rename to fs/smb/smb2file.c
similarity index 100%
rename from fs/cifs/smb2glob.h
rename to fs/smb/smb2glob.h
similarity index 100%
rename from fs/cifs/smb2inode.c
rename to fs/smb/smb2inode.c
similarity index 100%
rename from fs/cifs/smb2maperror.c
rename to fs/smb/smb2maperror.c
similarity index 100%
rename from fs/cifs/smb2misc.c
rename to fs/smb/smb2misc.c
similarity index 100%
rename from fs/cifs/smb2ops.c
rename to fs/smb/smb2ops.c
similarity index 100%
rename from fs/cifs/smb2pdu.c
rename to fs/smb/smb2pdu.c
similarity index 100%
rename from fs/cifs/smb2pdu.h
rename to fs/smb/smb2pdu.h
similarity index 100%
rename from fs/cifs/smb2proto.h
rename to fs/smb/smb2proto.h
similarity index 100%
rename from fs/cifs/smb2status.h
rename to fs/smb/smb2status.h
similarity index 100%
rename from fs/cifs/smb2transport.c
rename to fs/smb/smb2transport.c
similarity index 100%
rename from fs/cifs/smbdirect.c
rename to fs/smb/smbdirect.c
similarity index 100%
rename from fs/cifs/smbdirect.h
rename to fs/smb/smbdirect.h
similarity index 100%
rename from fs/cifs/smbencrypt.c
rename to fs/smb/smbencrypt.c
similarity index 100%
rename from fs/cifs/smberr.h
rename to fs/smb/smberr.h
similarity index 100%
rename from fs/cifs/smbfs.h
rename to fs/smb/smbfs.h
similarity index 100%
rename from fs/cifs/trace.c
rename to fs/smb/trace.c
similarity index 100%
rename from fs/cifs/trace.h
rename to fs/smb/trace.h
similarity index 100%
rename from fs/cifs/transport.c
rename to fs/smb/transport.c
similarity index 100%
rename from fs/cifs/unc.c
rename to fs/smb/unc.c
similarity index 100%
rename from fs/cifs/winucase.c
rename to fs/smb/winucase.c
similarity index 100%
rename from fs/cifs/xattr.c
rename to fs/smb/xattr.c
Update fs/Kconfig and fs/Makefile to reflect the change. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> --- fs/Kconfig | 2 +- fs/Makefile | 2 +- fs/{cifs => smb}/Kconfig | 0 fs/{cifs => smb}/Makefile | 0 fs/{cifs => smb}/asn1.c | 0 fs/{cifs => smb}/cifs_debug.c | 0 fs/{cifs => smb}/cifs_debug.h | 0 fs/{cifs => smb}/cifs_dfs_ref.c | 0 fs/{cifs => smb}/cifs_fs_sb.h | 0 fs/{cifs => smb}/cifs_ioctl.h | 0 fs/{cifs => smb}/cifs_spnego.c | 0 fs/{cifs => smb}/cifs_spnego.h | 0 fs/{cifs => smb}/cifs_spnego_negtokeninit.asn1 | 0 fs/{cifs => smb}/cifs_swn.c | 0 fs/{cifs => smb}/cifs_swn.h | 0 fs/{cifs => smb}/cifs_unicode.c | 0 fs/{cifs => smb}/cifs_unicode.h | 0 fs/{cifs => smb}/cifs_uniupr.h | 0 fs/{cifs => smb}/cifsacl.c | 0 fs/{cifs => smb}/cifsacl.h | 0 fs/{cifs => smb}/cifsencrypt.c | 0 fs/{cifs => smb}/cifsglob.h | 0 fs/{cifs => smb}/cifspdu.h | 0 fs/{cifs => smb}/cifsproto.h | 0 fs/{cifs => smb}/cifsroot.c | 0 fs/{cifs => smb}/cifssmb.c | 0 fs/{cifs => smb}/connect.c | 0 fs/{cifs => smb}/core.c | 0 fs/{cifs => smb}/dfs_cache.c | 0 fs/{cifs => smb}/dfs_cache.h | 0 fs/{cifs => smb}/dir.c | 0 fs/{cifs => smb}/dns_resolve.c | 0 fs/{cifs => smb}/dns_resolve.h | 0 fs/{cifs => smb}/export.c | 0 fs/{cifs => smb}/file.c | 0 fs/{cifs => smb}/fs_context.c | 0 fs/{cifs => smb}/fs_context.h | 0 fs/{cifs => smb}/fscache.c | 0 fs/{cifs => smb}/fscache.h | 0 fs/{cifs => smb}/inode.c | 0 fs/{cifs => smb}/ioctl.c | 0 fs/{cifs => smb}/link.c | 0 fs/{cifs => smb}/misc.c | 0 fs/{cifs => smb}/netlink.c | 0 fs/{cifs => smb}/netlink.h | 0 fs/{cifs => smb}/netmisc.c | 0 fs/{cifs => smb}/nterr.c | 0 fs/{cifs => smb}/nterr.h | 0 fs/{cifs => smb}/ntlmssp.h | 0 fs/{cifs => smb}/readdir.c | 0 fs/{cifs => smb}/rfc1002pdu.h | 0 fs/{cifs => smb}/sess.c | 0 fs/{cifs => smb}/smb1ops.c | 0 fs/{cifs => smb}/smb2file.c | 0 fs/{cifs => smb}/smb2glob.h | 0 fs/{cifs => smb}/smb2inode.c | 0 fs/{cifs => smb}/smb2maperror.c | 0 fs/{cifs => smb}/smb2misc.c | 0 fs/{cifs => smb}/smb2ops.c | 0 fs/{cifs => smb}/smb2pdu.c | 0 fs/{cifs => smb}/smb2pdu.h | 0 fs/{cifs => smb}/smb2proto.h | 0 fs/{cifs => smb}/smb2status.h | 0 fs/{cifs => smb}/smb2transport.c | 0 fs/{cifs => smb}/smbdirect.c | 0 fs/{cifs => smb}/smbdirect.h | 0 fs/{cifs => smb}/smbencrypt.c | 0 fs/{cifs => smb}/smberr.h | 0 fs/{cifs => smb}/smbfs.h | 0 fs/{cifs => smb}/trace.c | 0 fs/{cifs => smb}/trace.h | 0 fs/{cifs => smb}/transport.c | 0 fs/{cifs => smb}/unc.c | 0 fs/{cifs => smb}/winucase.c | 0 fs/{cifs => smb}/xattr.c | 0 75 files changed, 2 insertions(+), 2 deletions(-) rename fs/{cifs => smb}/Kconfig (100%) rename fs/{cifs => smb}/Makefile (100%) rename fs/{cifs => smb}/asn1.c (100%) rename fs/{cifs => smb}/cifs_debug.c (100%) rename fs/{cifs => smb}/cifs_debug.h (100%) rename fs/{cifs => smb}/cifs_dfs_ref.c (100%) rename fs/{cifs => smb}/cifs_fs_sb.h (100%) rename fs/{cifs => smb}/cifs_ioctl.h (100%) rename fs/{cifs => smb}/cifs_spnego.c (100%) rename fs/{cifs => smb}/cifs_spnego.h (100%) rename fs/{cifs => smb}/cifs_spnego_negtokeninit.asn1 (100%) rename fs/{cifs => smb}/cifs_swn.c (100%) rename fs/{cifs => smb}/cifs_swn.h (100%) rename fs/{cifs => smb}/cifs_unicode.c (100%) rename fs/{cifs => smb}/cifs_unicode.h (100%) rename fs/{cifs => smb}/cifs_uniupr.h (100%) rename fs/{cifs => smb}/cifsacl.c (100%) rename fs/{cifs => smb}/cifsacl.h (100%) rename fs/{cifs => smb}/cifsencrypt.c (100%) rename fs/{cifs => smb}/cifsglob.h (100%) rename fs/{cifs => smb}/cifspdu.h (100%) rename fs/{cifs => smb}/cifsproto.h (100%) rename fs/{cifs => smb}/cifsroot.c (100%) rename fs/{cifs => smb}/cifssmb.c (100%) rename fs/{cifs => smb}/connect.c (100%) rename fs/{cifs => smb}/core.c (100%) rename fs/{cifs => smb}/dfs_cache.c (100%) rename fs/{cifs => smb}/dfs_cache.h (100%) rename fs/{cifs => smb}/dir.c (100%) rename fs/{cifs => smb}/dns_resolve.c (100%) rename fs/{cifs => smb}/dns_resolve.h (100%) rename fs/{cifs => smb}/export.c (100%) rename fs/{cifs => smb}/file.c (100%) rename fs/{cifs => smb}/fs_context.c (100%) rename fs/{cifs => smb}/fs_context.h (100%) rename fs/{cifs => smb}/fscache.c (100%) rename fs/{cifs => smb}/fscache.h (100%) rename fs/{cifs => smb}/inode.c (100%) rename fs/{cifs => smb}/ioctl.c (100%) rename fs/{cifs => smb}/link.c (100%) rename fs/{cifs => smb}/misc.c (100%) rename fs/{cifs => smb}/netlink.c (100%) rename fs/{cifs => smb}/netlink.h (100%) rename fs/{cifs => smb}/netmisc.c (100%) rename fs/{cifs => smb}/nterr.c (100%) rename fs/{cifs => smb}/nterr.h (100%) rename fs/{cifs => smb}/ntlmssp.h (100%) rename fs/{cifs => smb}/readdir.c (100%) rename fs/{cifs => smb}/rfc1002pdu.h (100%) rename fs/{cifs => smb}/sess.c (100%) rename fs/{cifs => smb}/smb1ops.c (100%) rename fs/{cifs => smb}/smb2file.c (100%) rename fs/{cifs => smb}/smb2glob.h (100%) rename fs/{cifs => smb}/smb2inode.c (100%) rename fs/{cifs => smb}/smb2maperror.c (100%) rename fs/{cifs => smb}/smb2misc.c (100%) rename fs/{cifs => smb}/smb2ops.c (100%) rename fs/{cifs => smb}/smb2pdu.c (100%) rename fs/{cifs => smb}/smb2pdu.h (100%) rename fs/{cifs => smb}/smb2proto.h (100%) rename fs/{cifs => smb}/smb2status.h (100%) rename fs/{cifs => smb}/smb2transport.c (100%) rename fs/{cifs => smb}/smbdirect.c (100%) rename fs/{cifs => smb}/smbdirect.h (100%) rename fs/{cifs => smb}/smbencrypt.c (100%) rename fs/{cifs => smb}/smberr.h (100%) rename fs/{cifs => smb}/smbfs.h (100%) rename fs/{cifs => smb}/trace.c (100%) rename fs/{cifs => smb}/trace.h (100%) rename fs/{cifs => smb}/transport.c (100%) rename fs/{cifs => smb}/unc.c (100%) rename fs/{cifs => smb}/winucase.c (100%) rename fs/{cifs => smb}/xattr.c (100%)