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>
This commit is contained in:
Stefan Metzmacher
2025-08-26 15:24:33 +02:00
committed by Steve French
parent bd33b696eb
commit cdb9545c23

View File

@@ -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