]> err.no Git - linux-2.6/blobdiff - fs/ext3/super.c
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / fs / ext3 / super.c
index c3dbebdb98974c92c5109727b42384a518238849..56bf765860199fd846bb28ba4a1d22825c099ce1 100644 (file)
@@ -2150,7 +2150,7 @@ int ext3_force_commit(struct super_block *sb)
 
 static void ext3_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;
 }