fs: dlm: cancel work sync othercon
authorAlexander Aring <aahringo@redhat.com>
Fri, 21 May 2021 19:08:38 +0000 (15:08 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 25 May 2021 14:22:20 +0000 (09:22 -0500)
commitc6aa00e3d20c2767ba3f57b64eb862572b9744b3
treecea40c8ada606fc1ef7439eaa87a4ee2c6514c93
parentba868d9deaab2bb1c09e50650127823925154802
fs: dlm: cancel work sync othercon

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>
fs/dlm/lowcomms.c