From: Alexander Aring <aahringo@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH dlm-tool 2/3] libdlm: force unset the DLM_LSFL_TIMEWARN flag
Date: Wed, 22 Jun 2022 22:33:10 -0400 [thread overview]
Message-ID: <20220623023311.1934436-2-aahringo@redhat.com> (raw)
In-Reply-To: <20220623023311.1934436-1-aahringo@redhat.com>
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
next prev parent reply other threads:[~2022-06-23 2:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 2:33 [Cluster-devel] [PATCH dlm-tool 1/3] libdlm: force timeout parameter to zero Alexander Aring
2022-06-23 2:33 ` Alexander Aring [this message]
2022-06-23 2:33 ` [Cluster-devel] [PATCH dlm-tool 3/3] controld: remove timewarn handling Alexander Aring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220623023311.1934436-2-aahringo@redhat.com \
--to=aahringo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).