]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: make use of smbdirect_connection_post_recv_io()
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Sep 2025 07:18:08 +0000 (09:18 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:21 +0000 (21:58 -0500)
commit26003faa7d477eed4ceb5b5b49e4eb4a77bf2f6f
tree1f557e03c9fb69b1301de83658f58d3053a88777
parent6a67fe6212028754d3b3b57871916309a16863a6
smb: client: make use of smbdirect_connection_post_recv_io()

The only difference is that smbdirect_connection_post_recv_io()
returns early if the connection is already broken.

And that the error code from ib_dma_mapping_error() (currently only -ENOMEM
is possible) is returned instead of -EIO.

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