[Cluster-devel] cluster/dlm/lib libdlm.c
pcaulfield at sourceware.org
pcaulfield at sourceware.org
Wed Jan 16 17:25:49 UTC 2008
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;
More information about the Cluster-devel
mailing list