diff options
| author | Stefan Metzmacher <metze@samba.org> | 2025-08-26 16:24:33 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-16 05:58:18 +0300 |
| commit | cdb9545c238ff175e72b38269dc6d89c9ccd30b2 (patch) | |
| tree | aad2460c2008113f7564f150828939a9c68b9763 | |
| parent | bd33b696eb1638a169975552eb4bda3e5ab2cddc (diff) | |
| download | linux-cdb9545c238ff175e72b38269dc6d89c9ccd30b2.tar.xz | |
smb: server: include smbdirect_all_c_files.c
This is the first tiny step in order to use common functions in future.
Once we have all functions in common we'll move to an smbdirect.ko
that exports public functions instead of including the .c file.
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
| -rw-r--r-- | fs/smb/server/transport_rdma.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/smb/server/transport_rdma.c b/fs/smb/server/transport_rdma.c index dbc8dedb85dc..12a8def52ff8 100644 --- a/fs/smb/server/transport_rdma.c +++ b/fs/smb/server/transport_rdma.c @@ -9,6 +9,8 @@ #define SUBMOD_NAME "smb_direct" +#define SMBDIRECT_USE_INLINE_C_FILES 1 + #include <linux/kthread.h> #include <linux/list.h> #include <linux/mempool.h> @@ -30,6 +32,16 @@ #include "../common/smbdirect/smbdirect_socket.h" #include "transport_rdma.h" +static void smb_direct_disconnect_rdma_connection(struct smbdirect_socket *sc); + +/* + * This is a temporary solution until all code + * is moved to smbdirect_all_c_files.c and we + * have an smbdirect.ko that exports the required + * functions. + */ +#include "../common/smbdirect/smbdirect_all_c_files.c" + #define SMB_DIRECT_PORT_IWARP 5445 #define SMB_DIRECT_PORT_INFINIBAND 445 |
