cluster/dlm/lib libdlm.c
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.
dlm/lib/libdlm.c +1 -0
@@ -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 ;