]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dlm: never return invalid nodeid by dlm_our_nodeid()
authorAlexander Aring <aahringo@redhat.com>
Fri, 2 Aug 2024 17:26:40 +0000 (13:26 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 8 Aug 2024 20:15:07 +0000 (15:15 -0500)
commit90ad918e371fcb7ea4cb6c0a391acc6bba51662e
tree4afedd7bdb66231377d3a9db7e1fc6bed8b467c3
parentd3b3d2d8e1aa394fc5fde4c0d3e32f8697c2b42c
dlm: never return invalid nodeid by dlm_our_nodeid()

This patch will remote the return of an invalid nodeid value when
local_comm is not set. This case should never happen as the DLM stack
tries to compare valid nodeids with an invalid nodeid returned by
dlm_our_nodeid(). Instead we let it crash to getting at least recognized
if we running into such state.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c