]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: initialize recv_io->cqe.done = recv_done just once
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Sep 2025 06:54:03 +0000 (08:54 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:21 +0000 (21:58 -0500)
commit6a67fe6212028754d3b3b57871916309a16863a6
treeae0aaff5e35b2af5815f44ba79e43d732896b775
parent8de5571045902b5cadee117ec02c62c2f6cb0886
smb: client: 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 smbd_post_recv() to common code
soon.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
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/client/smbdirect.c