]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: fix race in mhandle deletion
authorAlexander Aring <aahringo@redhat.com>
Fri, 11 Jun 2021 16:55:40 +0000 (12:55 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 11 Jun 2021 17:44:47 +0000 (12:44 -0500)
commitbf6cb3eb3149d97c02a4550be3e2f8f2004f1d5a
tree9850365d9fbfc024fc6fab14841904ca572b8349
parent22ddb7ccb93547387e59b0186f6bedf56282cac6
fs: dlm: fix race in mhandle deletion

This patch fixes a race between mhandle deletion in case of receiving an
acknowledge and flush of all pending mhandle in cases of an timeout or
resetting node states.

Fixes: 85006c531b3a ("fs: dlm: add reliable connection if reconnect")
Reported-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/midcomms.c