]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: server: initialize recv_io->cqe.done = recv_done just once
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Dec 2025 21:15:25 +0000 (22:15 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 15 Dec 2025 00:35:55 +0000 (18:35 -0600)
commitc1fb124f2a7416905047cf36fa6a110f9c48cd02
treeaf2ca306bd6cd58c18b250befd0c39379eacd82a
parent49ca2147749fb69e1caa0f56a98bec065d903bd0
smb: server: initialize recv_io->cqe.done = recv_done just once

smbdirect_recv_io structures are pre-allocated so we can set the
callback function just once.

This will make it easy to move smb_direct_post_recv to common code
soon.

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