]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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:50:17 +0000 (08:50 +0100)
[ Upstream commit ce0ed8495b958566dfc18b944b9e91ae818e1c02 ]

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: 5282c6801f3b ("fs: dlm: start midcomms before scand")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lockspace.c

index bae050df7abff63d62073b6df50a56a1e976f64f..04e1b4fe366dc1445e70bbf79442f3b4253a5d17 100644 (file)
@@ -391,7 +391,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;
        }