public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RT:  unwritten_done_lock to DEFINE_SPINLOCK
@ 2005-09-27 18:32 Daniel Walker
  2005-09-27 22:28 ` Thomas Gleixner
  2005-09-28  9:34 ` Ingo Molnar
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Walker @ 2005-09-27 18:32 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel


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);
 	unsigned long		flags;
 
 	ASSERT(buffer_unwritten(bh));



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox