]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: dlm: cancel work sync othercon
authorAlexander Aring <aahringo@redhat.com>
Fri, 21 May 2021 19:08:38 +0000 (15:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:15:45 +0000 (16:15 +0200)
commitd5473f43e4fb27550512bebf62d029f4850b4b3d
tree4464c7ebbb2105ef2349b8f15586b2e05902ba29
parent96a6185a9f0966347d7133268d824c8cf09ebbf3
fs: dlm: cancel work sync othercon

[ Upstream commit c6aa00e3d20c2767ba3f57b64eb862572b9744b3 ]

These rx tx flags arguments are for signaling close_connection() from
which worker they are called. Obviously the receive worker cannot cancel
itself and vice versa for swork. For the othercon the receive worker
should only be used, however to avoid deadlocks we should pass the same
flags as the original close_connection() was called.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lowcomms.c