fs: dlm: fix log of lowcomms vs midcomms
authorAlexander Aring <aahringo@redhat.com>
Thu, 27 Oct 2022 20:45:26 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:48:49 +0000 (08:48 +0100)
[ Upstream commit 3e54c9e80e68b765d8877023d93f1eea1b9d1c54 ]

This patch will fix a small issue when printing out that
dlm_midcomms_start() failed to start and it was printing out that the
dlm subcomponent lowcomms was failed but lowcomms is behind the midcomms
layer.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Stable-dep-of: aad633dc0cf9 ("fs: dlm: start midcomms before scand")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lockspace.c

index 10eddfa6c3d7bab0a4c164ed4b2bb99be4d5a5c2..a1b34605742fc971572357e802a83826b1226d2e 100644 (file)
@@ -393,7 +393,7 @@ static int threads_start(void)
        /* Thread for sending/receiving messages for all lockspace's */
        error = dlm_midcomms_start();
        if (error) {
-               log_print("cannot start dlm lowcomms %d", error);
+               log_print("cannot start dlm midcomms %d", error);
                goto scand_fail;
        }