Skip to content

Commit 1249c01

Browse files
metze-sambasmfrench
authored andcommitted
smb: smbdirect: move fs/smb/common/smbdirect/ to fs/smb/smbdirect/
This also removes the smbdirect_ prefix from the files. Suggested-by: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/linux-cifs/CAHk-=whmue3PVi88K0UZLZO0at22QhQZ-yu+qO2TOKyZpGqecw@mail.gmail.com/ Cc: Steve French <[email protected]> Cc: Tom Talpey <[email protected]> Cc: Long Li <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Stefan Metzmacher <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 5efb579 commit 1249c01

28 files changed

Lines changed: 43 additions & 43 deletions

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24590,7 +24590,7 @@ L: [email protected]
2459024590
L: [email protected] (moderated for non-subscribers)
2459124591
S: Maintained
2459224592
F: fs/smb/client/smbdirect.*
24593-
F: fs/smb/common/smbdirect/
24593+
F: fs/smb/smbdirect/
2459424594
F: fs/smb/server/transport_rdma.*
2459524595

2459624596
SMC91x ETHERNET DRIVER

fs/smb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
source "fs/smb/client/Kconfig"
66
source "fs/smb/server/Kconfig"
7-
source "fs/smb/common/smbdirect/Kconfig"
7+
source "fs/smb/smbdirect/Kconfig"
88

99
config SMBFS
1010
tristate

fs/smb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
obj-$(CONFIG_SMBFS) += common/
4+
obj-$(CONFIG_SMBDIRECT) += smbdirect/
45
obj-$(CONFIG_CIFS) += client/
56
obj-$(CONFIG_SMB_SERVER) += server/

fs/smb/client/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ config CIFS_SMB_DIRECT
182182
bool "SMB Direct support"
183183
depends on CIFS && INFINIBAND && INFINIBAND_ADDR_TRANS
184184
depends on CIFS=m || INFINIBAND=y
185-
select SMB_COMMON_SMBDIRECT
185+
select SMBDIRECT
186186
help
187187
Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
188188
SMB Direct allows transferring SMB packets over RDMA. If unsure,

fs/smb/client/smbdirect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "cifs_debug.h"
1010
#include "cifsproto.h"
1111
#include "smb2proto.h"
12-
#include "../common/smbdirect/smbdirect_public.h"
12+
#include "../smbdirect/public.h"
1313

1414
/* Port numbers for SMBD transport */
1515
#define SMB_PORT 445

fs/smb/client/smbdirect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include "cifsglob.h"
1414

15-
#include "../common/smbdirect/smbdirect.h"
15+
#include "../smbdirect/smbdirect.h"
1616

1717
extern int rdma_readwrite_threshold;
1818
extern int smbd_max_frmr_depth;

fs/smb/common/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
#
55

66
obj-$(CONFIG_SMBFS) += cifs_md4.o
7-
obj-$(CONFIG_SMB_COMMON_SMBDIRECT) += smbdirect/

fs/smb/common/smbdirect/Makefile

Lines changed: 0 additions & 18 deletions
This file was deleted.

fs/smb/server/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ config SMB_SERVER_SMBDIRECT
4949
bool "Support for SMB Direct protocol"
5050
depends on SMB_SERVER && INFINIBAND && INFINIBAND_ADDR_TRANS
5151
depends on SMB_SERVER=m || INFINIBAND=y
52-
select SMB_COMMON_SMBDIRECT
52+
select SMBDIRECT
5353
default n
5454

5555
help

fs/smb/server/transport_rdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "smb_common.h"
1919
#include "../common/smb2status.h"
2020
#include "transport_rdma.h"
21-
#include "../common/smbdirect/smbdirect_public.h"
21+
#include "../smbdirect/public.h"
2222

2323

2424
#define SMB_DIRECT_PORT_IWARP 5445

0 commit comments

Comments
 (0)