public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: teigland@redhat.com, pcaulfie@redhat.com
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: patch dlm-device-interface.patch added to -mm tree
Date: Tue, 17 May 2005 21:06:32 +0400	[thread overview]
Message-ID: <200505172106.32385.adobriyan@gmail.com> (raw)
In-Reply-To: <200505170740.j4H7e4Qw021556@shell0.pdx.osdl.net>

On Tuesday 17 May 2005 11:39, akpm@osdl.org wrote:
> This is a separate module from the dlm.  It exports the dlm api to user space
> through a misc device.  Applications use a library (libdlm) which communicates
> with the kernel through this device.

> --- /dev/null
> +++ 25-akpm/drivers/dlm/device.c

> +static struct lock_info *get_lockinfo(uint32_t lockid)
> +{
> +	struct lock_info *li;
> +
> +	read_lock(&lockinfo_lock);
> +	li = idr_find(&lockinfo_idr, lockid);
> +	read_lock(&lockinfo_lock);
	^^^^^^^^^
> +
> +	return li;
> +}

read_unlock ?

> +int __init dlm_device_init(void)
> +{

> +		printk(KERN_ERR "dlm: misc_register failed for control device");

device\n

           reply	other threads:[~2005-05-17 17:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200505170740.j4H7e4Qw021556@shell0.pdx.osdl.net>]

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=200505172106.32385.adobriyan@gmail.com \
    --to=adobriyan@gmail.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pcaulfie@redhat.com \
    --cc=teigland@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