From mboxrd@z Thu Jan 1 00:00:00 1970 From: pcaulfield@sourceware.org Date: 16 Jan 2008 17:25:49 -0000 Subject: [Cluster-devel] cluster/dlm/lib libdlm.c Message-ID: <20080116172549.22479.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: pcaulfield at sourceware.org 2008-01-16 17:25:48 Modified files: dlm/lib : libdlm.c Log message: Zero namelen when doing an unlock. On 32/64 bit systems it can make a horrible mess otherwise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/lib/libdlm.c.diff?cvsroot=cluster&r1=1.37&r2=1.38 --- cluster/dlm/lib/libdlm.c 2007/07/05 08:24:05 1.37 +++ cluster/dlm/lib/libdlm.c 2008/01/16 17:25:48 1.38 @@ -1037,6 +1037,7 @@ req.i.lock.lkid = lkid; req.i.lock.flags = flags; req.i.lock.lksb = lksb; + req.i.lock.namelen = 0; req.i.lock.castparam = astarg; /* DLM_USER_UNLOCK will default to existing completion AST */ req.i.lock.castaddr = 0;