cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH dlm-tool 1/3] libdlm: force timeout parameter to zero
@ 2022-06-23  2:33 Alexander Aring
  2022-06-23  2:33 ` [Cluster-devel] [PATCH dlm-tool 2/3] libdlm: force unset the DLM_LSFL_TIMEWARN flag Alexander Aring
  2022-06-23  2:33 ` [Cluster-devel] [PATCH dlm-tool 3/3] controld: remove timewarn handling Alexander Aring
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Aring @ 2022-06-23  2:33 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This patch forces to disable the timeout parameter for libdlm users as
this feature is now deprecated and we will just unset it even if the
user sets it to a value.
---
 libdlm/libdlm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libdlm/libdlm.c b/libdlm/libdlm.c
index ebfba457..fbdf9a09 100644
--- a/libdlm/libdlm.c
+++ b/libdlm/libdlm.c
@@ -807,8 +807,6 @@ static int ls_lock_v6(dlm_lshandle_t ls,
 
 	if (xid)
 		req->i.lock.xid = *xid;
-	if (timeout)
-		req->i.lock.timeout = *timeout;
 
 	if (flags & LKF_CONVERT) {
 		req->i.lock.namelen = 0;
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-23  2:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Cluster-devel] [PATCH dlm-tool 2/3] libdlm: force unset the DLM_LSFL_TIMEWARN flag Alexander Aring
2022-06-23  2:33 ` [Cluster-devel] [PATCH dlm-tool 3/3] controld: remove timewarn handling Alexander Aring

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).