fs: dlm: check on existing node address
authorAlexander Aring <aahringo@redhat.com>
Tue, 3 Nov 2020 01:04:28 +0000 (20:04 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 10 Nov 2020 18:14:20 +0000 (12:14 -0600)
commit4f19d071f9bee1bb2040ae73436314a5ec9ede44
tree09c1686a0a8c476b3c214bfc95d2dc515b53ea75
parent40c6b83e5a07d1dc3952a5ad040eb1c7c966c4fe
fs: dlm: check on existing node address

This patch checks if we add twice the same address to a per node address
array. This should never be the case and we report -EEXIST to the user
space.

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