]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dlm: use dlm_config as only cluster configuration
authorAlexander Aring <aahringo@redhat.com>
Fri, 4 Oct 2024 15:13:41 +0000 (11:13 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 4 Oct 2024 15:31:31 +0000 (10:31 -0500)
commit76e342d32f7fc536939ce60ed92b3f5e4addad0f
tree33244bb67793186e3d86bf3e3729e8396d1a1d4b
parentf92a5be5717ea32830f829b080652c5c862b85e7
dlm: use dlm_config as only cluster configuration

This patch removes the configfs storage fields from the dlm_cluster
structure to store per cluster values. Those fields also exists for the
dlm_config global variable and get stored in both when setting configfs
values. To read values it will always be read out from the dlm_cluster
configfs structure but this patch changes it to only use the global
dlm_config variable. Storing them in two places makes no sense as both
are able to be changed under certain conditions during DLM runtime.

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