fs: dlm: filter ourself midcomms calls
authorAlexander Aring <aahringo@redhat.com>
Mon, 29 May 2023 21:44:37 +0000 (17:44 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 14 Jun 2023 15:17:33 +0000 (10:17 -0500)
commit07ee38674a0b9071fa0bbec4dbda6aad1c5e4003
tree629a028e1041dbb71ad088577cd72b38301d9427
parent70cf2fecf87354be09c0ab4c233fccea36256d3c
fs: dlm: filter ourself midcomms calls

It makes no sense to call midcomms/lowcomms functionality for the local
node as socket functionality is only required for remote nodes. This
patch filters those calls in the upper layer of lockspace membership
handling instead of doing it in midcomms/lowcomms layer as they should
never be aware of local nodeid.

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