From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH] GFS2: set plock owner in GETLK info
Date: Sat, 09 Jun 2007 15:34:07 +0100 [thread overview]
Message-ID: <1181399647.25918.283.camel@quoit> (raw)
In-Reply-To: <20070608210022.GM31758@redhat.com>
Hi,
Now added to the GFS2 -nmw git tree. Thanks,
Steve.
On Fri, 2007-06-08 at 16:00 -0500, David Teigland wrote:
> Set the owner field in the plock info sent to userspace for GETLK.
> Without this, gfs_controld won't correctly see when the GETLK from a
> process matches one of the process's existing locks.
>
> Signed-off-by: David Teigland <teigland@redhat.com>
>
> Index: linux-quilt/fs/gfs2/locking/dlm/plock.c
> ===================================================================
> --- linux-quilt.orig/fs/gfs2/locking/dlm/plock.c 2007-05-25 14:56:42.000000000 -0500
> +++ linux-quilt/fs/gfs2/locking/dlm/plock.c 2007-06-08 15:26:03.000000000 -0500
> @@ -242,7 +242,7 @@
> op->info.number = name->ln_number;
> op->info.start = fl->fl_start;
> op->info.end = fl->fl_end;
> -
> + op->info.owner = (__u64)(long) fl->fl_owner;
>
> send_op(op);
> wait_event(recv_wq, (op->done != 0));
prev parent reply other threads:[~2007-06-09 14:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 21:00 [Cluster-devel] [PATCH] GFS2: set plock owner in GETLK info David Teigland
2007-06-09 14:34 ` Steven Whitehouse [this message]
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=1181399647.25918.283.camel@quoit \
--to=swhiteho@redhat.com \
/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).