From: Ingo Molnar <mingo@elte.hu>
To: Daniel Walker <dwalker@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RT: unwritten_done_lock to DEFINE_SPINLOCK
Date: Wed, 28 Sep 2005 11:34:24 +0200 [thread overview]
Message-ID: <20050928093424.GC30820@elte.hu> (raw)
In-Reply-To: <1127845928.4004.26.camel@dhcp153.mvista.com>
* 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.
Ingo
next prev parent reply other threads:[~2005-09-28 9:33 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 [this message]
2005-09-28 15:04 ` Daniel Walker
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=20050928093424.GC30820@elte.hu \
--to=mingo@elte.hu \
--cc=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.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