CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL51
Changes by:     [EMAIL PROTECTED]       2008-01-17 16:54:22

Modified files:
        dlm/lib        : libdlm.c 

Log message:
        Pulled from RHEL5 branch
        
        Zero namelen when doing an unlock. On 32/64 bit systems it can make a
        horrible mess otherwise.
        bz#409221 has the gory details

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/lib/libdlm.c.diff?cvsroot=cluster&only_with_tag=RHEL51&r1=1.32.2.2&r2=1.32.2.2.2.1

--- cluster/dlm/lib/libdlm.c    2007/06/05 16:35:00     1.32.2.2
+++ cluster/dlm/lib/libdlm.c    2008/01/17 16:54:21     1.32.2.2.2.1
@@ -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;

Reply via email to