From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Wed, 22 Jun 2022 22:33:10 -0400 Subject: [Cluster-devel] [PATCH dlm-tool 2/3] libdlm: force unset the DLM_LSFL_TIMEWARN flag In-Reply-To: <20220623023311.1934436-1-aahringo@redhat.com> References: <20220623023311.1934436-1-aahringo@redhat.com> Message-ID: <20220623023311.1934436-2-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch forces to disable the DLM_LSFL_TIMEWARN flag for libdlm users as this feature is now deprecated and we will just unset it even if the user sets it. --- libdlm/libdlm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdlm/libdlm.c b/libdlm/libdlm.c index fbdf9a09..c5e78616 100644 --- a/libdlm/libdlm.c +++ b/libdlm/libdlm.c @@ -1344,6 +1344,7 @@ static dlm_lshandle_t create_lockspace(const char *name, mode_t mode, dlm_lshandle_t dlm_new_lockspace(const char *name, mode_t mode, uint32_t flags) { + flags &= ~DLM_LSFL_TIMEWARN; return create_lockspace(name, mode, flags); } -- 2.31.1