Re: [BUG] 2.6.26-rc2-mm1 - kernel BUG atfs/reiserfs/journal.c:1414!

From: Andrew Morton
Date: Wed May 14 2008 - 14:03:26 EST


On Wed, 14 May 2008 19:33:59 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:

> While running the dbench benchmark on the reiserfs filesystem,
> over the x86_64 box booted with the 2.6.26-rc2-mm1 kernel. The
> Kernel BUG() is seen on the console.
>
> ------------[ cut here ]------------
> kernel BUG at fs/reiserfs/journal.c:1414!

This?

--- a/fs/reiserfs/journal.c~reiserfs-convert-j_flush_sem-to-mutex-fix
+++ a/fs/reiserfs/journal.c
@@ -1412,7 +1412,7 @@ static int flush_journal_list(struct sup
/* if flushall == 0, the lock is already held */
if (flushall) {
mutex_lock(&journal->j_flush_mutex);
- } else if (!mutex_trylock(&journal->j_flush_mutex)) {
+ } else if (mutex_trylock(&journal->j_flush_mutex)) {
BUG();
}


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/