lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateWed, 14 May 2008 11:01:45 -0700
FromAndrew Morton <>
SubjectRe: [BUG] 2.6.26-rc2-mm1 - kernel BUG at fs/reiserfs/journal.c:1414!
On Wed, 14 May 2008 19:33:59 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> 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();
 	}
 


\
 
 \ /
  Last update: 2008-05-14 18:07    [W:1.449 / U:0.110 seconds]
©2003-2008 Jasper Spaans