]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/super.c
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6] / fs / ocfs2 / super.c
index 48bf7f0ce5443d69879d4f44241266433267ae1a..364d64bd5f1067177779bf0a5d3754a67cebde0d 100644 (file)
@@ -169,7 +169,7 @@ static match_table_t tokens = {
  */
 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;
 }