From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Wed, 22 Jun 2022 22:33:09 -0400 Subject: [Cluster-devel] [PATCH dlm-tool 1/3] libdlm: force timeout parameter to zero Message-ID: <20220623023311.1934436-1-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 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