]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: server: inline smb_direct_create_header() into smb_direct_post_send_data()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Oct 2025 15:24:28 +0000 (17:24 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:23 +0000 (21:58 -0500)
commit0af87a0a31668d4a0dc8d8140fb51da594935eb4
tree2683288863df60cf935f0c86c67f5c908f45dfef
parent0184d2b386f836925ff2f9b4e6d4f9a8048cf58f
smb: server: inline smb_direct_create_header() into smb_direct_post_send_data()

The point is that ib_dma_map_single() is done first, but
the 'Fill in the packet header' will be done after
smbdirect_map_sges_from_iter().

This will simplify further changes in order to
share common code with the client.

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>
fs/smb/server/transport_rdma.c