fs: dlm: start midcomms before scand
authorAlexander Aring <aahringo@redhat.com>
Thu, 12 Jan 2023 22:10:31 +0000 (17:10 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 23 Jan 2023 18:43:53 +0000 (12:43 -0600)
commitaad633dc0cf90093998b1ae0ba9f19b5f1dab644
tree62a66c340c70d2605e70b6536ab0b158e22dbee9
parentaa7f4a21f6e5b0fa256b4de0924fea506ad801ef
fs: dlm: start midcomms before scand

The scand kthread can send dlm messages out, especially dlm remove
messages to free memory for unused rsb on other nodes. To send out dlm
messages, midcomms must be initialized. This patch moves the midcomms
start before scand is started.

Cc: stable@vger.kernel.org
Fixes: e7fd41792fc0 ("[DLM] The core of the DLM for GFS2/CLVM")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c