diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-05-29 23:44:37 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-06-14 17:17:33 +0200 |
commit | 07ee38674a0b9071fa0bbec4dbda6aad1c5e4003 (patch) | |
tree | 629a028e1041dbb71ad088577cd72b38301d9427 /fs/dlm/lowcomms.c | |
parent | fs: dlm: warn about messages from left nodes (diff) | |
download | linux-07ee38674a0b9071fa0bbec4dbda6aad1c5e4003.tar.xz linux-07ee38674a0b9071fa0bbec4dbda6aad1c5e4003.zip |
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>
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r-- | fs/dlm/lowcomms.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 5a7586633cbe..345a316ae54c 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -546,9 +546,6 @@ int dlm_lowcomms_connect_node(int nodeid) struct connection *con; int idx; - if (nodeid == dlm_our_nodeid()) - return 0; - idx = srcu_read_lock(&connections_srcu); con = nodeid2con(nodeid, 0); if (WARN_ON_ONCE(!con)) { |