[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-commits
Subject:    [Ocfs2-commits] mfasheh commits r2759 - branches/ocfs2-1.2/fs/ocfs2
From:       svn-commits () oss ! oracle ! com (svn-commits () oss ! oracle ! com)
Date:       2006-01-25 21:41:37
Message-ID: 200601252141.k0PLfb55028563 () oss ! oracle ! com
[Download RAW message or body]

Author: mfasheh
Signed-off-by: jlbec
Date: 2006-01-25 15:41:36 -0600 (Wed, 25 Jan 2006)
New Revision: 2759

Modified:
   branches/ocfs2-1.2/fs/ocfs2/super.c
Log:
* s_lock is a mutex now

Signed-off-by: jlbec



Modified: branches/ocfs2-1.2/fs/ocfs2/super.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/super.c	2006-01-24 22:30:42 UTC (rev 2758)
+++ branches/ocfs2-1.2/fs/ocfs2/super.c	2006-01-25 21:41:36 UTC (rev 2759)
@@ -177,7 +177,7 @@
  */
 static void ocfs2_write_super(struct super_block *sb)
 {
-	if (down_trylock(&sb->s_lock) == 0)
+	if (!mutex_trylock(&sb->s_lock) == 0)
 		BUG();
 	sb->s_dirt = 0;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic