[Ocfs2-commits] mfasheh commits r2759 - branches/ocfs2-1.2/fs/ocfs2
svn-commits@oss.oracle.com
svn-commits at oss.oracle.com
Wed Jan 25 15:41:37 CST 2006
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;
}
More information about the Ocfs2-commits
mailing list