Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Cluster Development (http://www.linux-archive.org/cluster-development/)
-   -   cluster/dlm/lib libdlm.c (http://www.linux-archive.org/cluster-development/39081-cluster-dlm-lib-libdlm-c.html)

01-16-2008 04:25 PM

cluster/dlm/lib libdlm.c
 
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield@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;

01-17-2008 08:40 AM

cluster/dlm/lib libdlm.c
 
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: pcaulfield@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

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

--- cluster/dlm/lib/libdlm.c 2007/10/17 18:13:41 1.32.2.3
+++ cluster/dlm/lib/libdlm.c 2008/01/17 09:40:11 1.32.2.4
@@ -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;

01-17-2008 03:54 PM

cluster/dlm/lib libdlm.c
 
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL51
Changes by: cfeist@sourceware.org 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;


All times are GMT. The time now is 10:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.