]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: smbdirect: let smbdirect_connection_deregister_mr_io unlock while waiting
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Apr 2026 14:46:30 +0000 (16:46 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:24 +0000 (21:58 -0500)
commitd09a040c186a2083b1cfa9c3c112782ce4b1f6d4
tree4ebd9d1051e4dc25fb8bf096a961505fce516f55
parent25c2e34931c5f2a02baefd111a4eb7fa31158059
smb: smbdirect: let smbdirect_connection_deregister_mr_io unlock while waiting

We should not hold a mutex locked during wait_for_completion()
holding a reference is enough.

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: David Howells <dhowells@redhat.com>
Cc: Henrique Carvalho <henrique.carvalho@suse.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smbdirect/smbdirect_mr.c