]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: server: don't use delayed_work for post_recv_credits_work
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Aug 2025 15:55:17 +0000 (17:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:40:37 +0000 (13:40 +0200)
commit72ded830e1dd91951eb3764549bcdd8ae5c6da2a
treea7c2bbaa3f503b25990b30227a7a9af56fa1d66a
parent75d9fb6acd97bf0e94029e9a798050b6033a9963
smb: server: don't use delayed_work for post_recv_credits_work

[ Upstream commit 1cde0a74a7a8951b3097417847a458e557be0b5b ]

If we are using a hardcoded delay of 0 there's no point in
using delayed_work it only adds confusion.

The client also uses a normal work_struct and now
it is easier to move it to the common smbdirect_socket.

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
Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/server/transport_rdma.c