dlm: fix invalid cluster name warning
authorDavid Teigland <teigland@redhat.com>
Mon, 3 Dec 2018 21:27:37 +0000 (15:27 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Dec 2019 09:41:21 +0000 (10:41 +0100)
commit6d9f5505a47a6f9d8ff54fab53363acc456fe414
treea89f6cdbd40117a31ca5a5b24ccd3b07f1d9b723
parent4912c2cdd16431c1407a731c5086f54783aa78f0
dlm: fix invalid cluster name warning

[ Upstream commit 3595c559326d0b660bb088a88e22e0ca630a0e35 ]

The warning added in commit 3b0e761ba83
  "dlm: print log message when cluster name is not set"

did not account for the fact that lockspaces created
from userland do not supply a cluster name, so bogus
warnings are printed every time a userland lockspace
is created.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/user.c