]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: make use of smbdirect_connection_grant_recv_credits()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Oct 2025 13:37:32 +0000 (15:37 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:22 +0000 (21:58 -0500)
commit8b72c199a9626cc1b53c8d579e9e4c6f23af8908
tree74e4f368c57170af4aa70c52cf2735b068e7bfcb
parentedb9e514f0e058a924a169795fb0e34286da9572
smb: client: make use of smbdirect_connection_grant_recv_credits()

This already calls atomic_add(new_credits, &sc->recv_io.credits.count),
so there's no need to do it in the caller anymore.

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