cluster/dlm/lib libdlm.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: pcaulfield at sourceware.org 2008-01-17 09:40:12
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.
bz#409221 has the gory details
dlm/lib/libdlm.c +1 -0
@@ -1034,6 +1034,7 @@set_version_v6 (&req); req.cmd =DLM_USER_UNLOCK ; + req.i.lock.namelen =0 ; req.i.lock.lkid = lkid; req.i.lock.flags = flags; req.i.lock.lksb = lksb;