From: Daniel Walker <dwalker@mvista.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RT: unwritten_done_lock to DEFINE_SPINLOCK
Date: Wed, 28 Sep 2005 08:04:02 -0700 [thread overview]
Message-ID: <1127919842.8520.2.camel@c-67-188-6-232.hsd1.ca.comcast.net> (raw)
In-Reply-To: <20050928093424.GC30820@elte.hu>
On Wed, 2005-09-28 at 11:34 +0200, Ingo Molnar wrote:
> * Daniel Walker <dwalker@mvista.com> wrote:
>
> > Convert unwritten_done_lock xfs lock to the new syntax.
> >
> > Signed-Off-By: Daniel Walker <dwalker@mvista.com>
> >
> > Index: linux-2.6.13/fs/xfs/linux-2.6/xfs_aops.c
> > ===================================================================
> > --- linux-2.6.13.orig/fs/xfs/linux-2.6/xfs_aops.c
> > +++ linux-2.6.13/fs/xfs/linux-2.6/xfs_aops.c
> > @@ -192,7 +192,7 @@ linvfs_unwritten_done(
> > int uptodate)
> > {
> > xfs_ioend_t *ioend = bh->b_private;
> > - static spinlock_t unwritten_done_lock = SPIN_LOCK_UNLOCKED;
> > + static DECLARE_SPINLOCK(unwritten_done_lock);
>
> applied, with the additional detail that it's DEFINE, not DECLARE.
Yeah, thanks .
Daniel
prev parent reply other threads:[~2005-09-28 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 18:32 [PATCH] RT: unwritten_done_lock to DEFINE_SPINLOCK Daniel Walker
2005-09-27 22:28 ` Thomas Gleixner
2005-09-28 9:34 ` Ingo Molnar
2005-09-28 15:04 ` Daniel Walker [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=1127919842.8520.2.camel@c-67-188-6-232.hsd1.ca.comcast.net \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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).