You need to sign in or sign up before continuing.
提交 38c8a9a5 编写于 作者: S Steve French

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: NLinus Torvalds <torvalds@linux-foundation.org>
Acked-by: NNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: NSteve French <stfrench@microsoft.com>
上级 cb8b02fd
...@@ -5140,8 +5140,8 @@ S: Supported ...@@ -5140,8 +5140,8 @@ S: Supported
W: https://wiki.samba.org/index.php/LinuxCIFS W: https://wiki.samba.org/index.php/LinuxCIFS
T: git git://git.samba.org/sfrench/cifs-2.6.git T: git git://git.samba.org/sfrench/cifs-2.6.git
F: Documentation/admin-guide/cifs/ F: Documentation/admin-guide/cifs/
F: fs/cifs/ F: fs/smb/client/
F: fs/smbfs_common/ F: fs/smb/common/
F: include/uapi/linux/cifs F: include/uapi/linux/cifs
COMPACTPCI HOTPLUG CORE COMPACTPCI HOTPLUG CORE
...@@ -11301,8 +11301,8 @@ L: linux-cifs@vger.kernel.org ...@@ -11301,8 +11301,8 @@ L: linux-cifs@vger.kernel.org
S: Maintained S: Maintained
T: git git://git.samba.org/ksmbd.git T: git git://git.samba.org/ksmbd.git
F: Documentation/filesystems/cifs/ksmbd.rst F: Documentation/filesystems/cifs/ksmbd.rst
F: fs/ksmbd/ F: fs/smb/common/
F: fs/smbfs_common/ F: fs/smb/server/
KERNEL UNIT TESTING FRAMEWORK (KUnit) KERNEL UNIT TESTING FRAMEWORK (KUnit)
M: Brendan Higgins <brendanhiggins@google.com> M: Brendan Higgins <brendanhiggins@google.com>
......
...@@ -368,14 +368,7 @@ config NFS_V4_2_SSC_HELPER ...@@ -368,14 +368,7 @@ config NFS_V4_2_SSC_HELPER
source "net/sunrpc/Kconfig" source "net/sunrpc/Kconfig"
source "fs/ceph/Kconfig" source "fs/ceph/Kconfig"
source "fs/cifs/Kconfig" source "fs/smb/Kconfig"
source "fs/ksmbd/Kconfig"
config SMBFS_COMMON
tristate
default y if CIFS=y || SMB_SERVER=y
default m if CIFS=m || SMB_SERVER=m
source "fs/coda/Kconfig" source "fs/coda/Kconfig"
source "fs/afs/Kconfig" source "fs/afs/Kconfig"
source "fs/9p/Kconfig" source "fs/9p/Kconfig"
......
...@@ -95,9 +95,7 @@ obj-$(CONFIG_LOCKD) += lockd/ ...@@ -95,9 +95,7 @@ obj-$(CONFIG_LOCKD) += lockd/
obj-$(CONFIG_NLS) += nls/ obj-$(CONFIG_NLS) += nls/
obj-y += unicode/ obj-y += unicode/
obj-$(CONFIG_SYSV_FS) += sysv/ obj-$(CONFIG_SYSV_FS) += sysv/
obj-$(CONFIG_SMBFS_COMMON) += smbfs_common/ obj-$(CONFIG_SMBFS) += smb/
obj-$(CONFIG_CIFS) += cifs/
obj-$(CONFIG_SMB_SERVER) += ksmbd/
obj-$(CONFIG_HPFS_FS) += hpfs/ obj-$(CONFIG_HPFS_FS) += hpfs/
obj-$(CONFIG_NTFS_FS) += ntfs/ obj-$(CONFIG_NTFS_FS) += ntfs/
obj-$(CONFIG_NTFS3_FS) += ntfs3/ obj-$(CONFIG_NTFS3_FS) += ntfs3/
......
# SPDX-License-Identifier: GPL-2.0-only
#
# smbfs configuration
source "fs/smb/client/Kconfig"
source "fs/smb/server/Kconfig"
config SMBFS
tristate
default y if CIFS=y || SMB_SERVER=y
default m if CIFS=m || SMB_SERVER=m
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_SMBFS) += common/
obj-$(CONFIG_CIFS) += client/
obj-$(CONFIG_SMB_SERVER) += server/
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/random.h> #include <linux/random.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/fips.h> #include <linux/fips.h>
#include "../smbfs_common/arc4.h" #include "../common/arc4.h"
#include <crypto/aead.h> #include <crypto/aead.h>
/* /*
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "cifsacl.h" #include "cifsacl.h"
#include <crypto/internal/hash.h> #include <crypto/internal/hash.h>
#include <uapi/linux/cifs/cifs_mount.h> #include <uapi/linux/cifs/cifs_mount.h>
#include "../smbfs_common/smb2pdu.h" #include "../common/smb2pdu.h"
#include "smb2pdu.h" #include "smb2pdu.h"
#include <linux/filelock.h> #include <linux/filelock.h>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <net/sock.h> #include <net/sock.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include "../smbfs_common/smbfsctl.h" #include "../common/smbfsctl.h"
#define CIFS_PROT 0 #define CIFS_PROT 0
#define POSIX_PROT (CIFS_PROT+1) #define POSIX_PROT (CIFS_PROT+1)
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "cifsglob.h" #include "cifsglob.h"
#include "cifs_debug.h" #include "cifs_debug.h"
#include "cifsproto.h" #include "cifsproto.h"
#include "../smbfs_common/md4.h" #include "../common/md4.h"
#ifndef false #ifndef false
#define false 0 #define false 0
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
# Makefile for Linux filesystem routines that are shared by client and server. # Makefile for Linux filesystem routines that are shared by client and server.
# #
obj-$(CONFIG_SMBFS_COMMON) += cifs_arc4.o obj-$(CONFIG_SMBFS) += cifs_arc4.o
obj-$(CONFIG_SMBFS_COMMON) += cifs_md4.o obj-$(CONFIG_SMBFS) += cifs_md4.o
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "mgmt/user_config.h" #include "mgmt/user_config.h"
#include "crypto_ctx.h" #include "crypto_ctx.h"
#include "transport_ipc.h" #include "transport_ipc.h"
#include "../smbfs_common/arc4.h" #include "../common/arc4.h"
/* /*
* Fixed format data defining GSS header and fixed string * Fixed format data defining GSS header and fixed string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册