fs: dlm: don't put dlm_local_addrs on heap
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:52 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commitc51c9cd8addcfbdc097dbefd59f022402183644b
treeecdb49a095b310055a1bd7cd73e84959fd3c58bf
parentc3d88dfd15835f42c79467eee2c40db3095e5271
fs: dlm: don't put dlm_local_addrs on heap

This patch removes to allocate the dlm_local_addr[] pointers on the
heap. Instead we directly store the type of "struct sockaddr_storage".
This removes function deinit_local() because it was freeing memory only.

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