cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: cfeist@sourceware.org <cfeist@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/dlm/lib libdlm.c
Date: 17 Jan 2008 16:54:22 -0000	[thread overview]
Message-ID: <20080117165422.27266.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL51
Changes by:	cfeist at 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;



             reply	other threads:[~2008-01-17 16:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17 16:54 cfeist [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-17  9:40 [Cluster-devel] cluster/dlm/lib libdlm.c pcaulfield
2008-01-16 17:25 pcaulfield
2007-10-17 18:13 teigland
2007-07-05  8:24 pcaulfield
2007-07-05  8:08 pcaulfield
2007-05-31 13:46 pcaulfield
2007-01-31 11:16 pcaulfield
2007-01-31 10:53 pcaulfield
2006-07-12  7:47 pcaulfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080117165422.27266.qmail@sourceware.org \
    --to=cfeist@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).