diff options
author | Alexander Aring <aahringo@redhat.com> | 2020-09-24 10:31:23 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-09-29 14:00:32 -0500 |
commit | 3f78cd7d2449a07904b3a23751758cbdeaaa20f3 (patch) | |
tree | 090014706fb958cb5b63c7d7453487a0c8126a18 /fs/dlm/config.h | |
parent | 0461e0db941f8f49dcfd0576c4449f2e5beda2f6 (diff) |
fs: dlm: fix mark per nodeid setting
This patch fixes to set per nodeid mark configuration for accepted
sockets as well. Before this patch only the listen socket mark value was
used for all accepted connections. This patch will ensure that the
cluster mark attribute value will be always used for all sockets, if a
per nodeid mark value is specified dlm will use this value for the
specific node.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/config.h')
-rw-r--r-- | fs/dlm/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/config.h b/fs/dlm/config.h index f62996cad561..3b284ae9aeeb 100644 --- a/fs/dlm/config.h +++ b/fs/dlm/config.h @@ -46,7 +46,7 @@ void dlm_config_exit(void); int dlm_config_nodes(char *lsname, struct dlm_config_node **nodes_out, int *count_out); int dlm_comm_seq(int nodeid, uint32_t *seq); -int dlm_comm_mark(int nodeid, unsigned int *mark); +void dlm_comm_mark(int nodeid, unsigned int *mark); int dlm_our_nodeid(void); int dlm_our_addr(struct sockaddr_storage *addr, int num); |