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