From: Pavel Machek <pavel@suse.cz>
To: Steven Whitehouse <swhiteho@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: GFS2 Filesystem [15/16]
Date: Wed, 22 Feb 2006 18:54:01 +0000 [thread overview]
Message-ID: <20060222185400.GD2633@ucw.cz> (raw)
In-Reply-To: <1140793662.6400.738.camel@quoit.chygwyn.com>
> +#include <linux/module.h>
> +#include <linux/slab.h>
> +#include <linux/module.h>
> +#include <linux/init.h>
> +#include <linux/types.h>
> +#include <linux/fs.h>
> +#include <linux/smp_lock.h>
> +
> +#include "../../lm_interface.h"
ugly...
> +{
> + char *c;
> + unsigned int jid;
> + struct nolock_lockspace *nl;
> +
> + /* If there is a "jid=" in the hostdata, return that jid.
> + Otherwise, return zero. */
useful comment of the year 2006....
> + c = strstr(host_data, "jid=");
> + if (!c)
> + jid = 0;
> + else {
> + c += 4;
> + sscanf(c, "%u", &jid);
> + }
> +
...
> +
> +static int nolock_get_lock(lm_lockspace_t *lockspace, struct lm_lockname *name,
> + lm_lock_t **lockp)
> +{
> + *lockp = (lm_lock_t *)lockspace;
typedef abuse?
--
Thanks, Sharp!
next prev parent reply other threads:[~2006-02-24 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-24 15:07 Steven Whitehouse
2006-02-22 18:54 ` Pavel Machek [this message]
2006-02-27 8:52 ` Steven Whitehouse
2006-02-25 12:06 ` Pekka Enberg
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=20060222185400.GD2633@ucw.cz \
--to=pavel@suse.cz \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=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
all inboxes | Powered by JetHome®