lkml.org 
[lkml]   [2005]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] RT: unwritten_done_lock to DEFINE_SPINLOCK
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-28 17:07    [W:0.036 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site