]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: move sending fin message into state change handling
authorAlexander Aring <aahringo@redhat.com>
Thu, 12 Jan 2023 22:10:36 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:08 +0000 (09:34 +0100)
commit93d63f254d0cc0e517f81d24d2b1111e7be76d22
treebe11f2015bcf5a2c130fde58d7cad1434442ba35
parent8f6a8aa080a51959720b34cb1aa176a2af4585da
fs: dlm: move sending fin message into state change handling

commit ef557040d5f62190ef927ab3ba7cb852b045a9ed upstream.

This patch moves the send fin handling, which should appear in a specific
state change, into the state change handling while the per node
state_lock is held. I experienced issues with other messages because
we changed the state and a fin message was sent out in a different state.

Cc: stable@vger.kernel.org
Fixes: 9c99c76781ff ("fs: dlm: add reliable connection if reconnect")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/dlm/midcomms.c