diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-03-01 23:05:13 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-03-09 15:56:42 +0100 |
commit | 517461630d1c25ee4dfc1dee80973a64189d6ccf (patch) | |
tree | a74438e0e5326e6dfbb24557060d5892e2034aa4 /fs/dlm/lowcomms.c | |
parent | fs: dlm: add errno handling to check callback (diff) | |
download | linux-517461630d1c25ee4dfc1dee80973a64189d6ccf.tar.xz linux-517461630d1c25ee4dfc1dee80973a64189d6ccf.zip |
fs: dlm: add check if dlm is currently running
This patch adds checks for dlm config attributes regarding to protocol
parameters as it makes only sense to change them when dlm is not running.
It also adds a check for valid protocol specifiers and return invalid
argument if they are not supported.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index ca9bf54b94a9..4f2245e8677f 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -135,7 +135,7 @@ static DEFINE_SPINLOCK(dlm_node_addrs_spin); static struct listen_connection listen_con; static struct sockaddr_storage *dlm_local_addr[DLM_MAX_ADDR_COUNT]; static int dlm_local_count; -static int dlm_allow_conn; +int dlm_allow_conn; /* Work queues */ static struct workqueue_struct *recv_workqueue; |