[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Debugging help: BUG: Assertion failure with ext3-0.95 for 2.4.7



Hi,

On Thu, Aug 09, 2001 at 05:24:05PM +0200, Christian Borntraeger wrote:
> 
> Hello ext3-developers,
> 
> Just to summarize, I reported a kernel bug message with ext3 on S/390 in
> transaction.c. I was able to reproduce it with a ext3 on LVM  and on MD.
> Tom Rini reported a similar problem on PPC. (both big endian). I have sent
> a backtrace and with jbd-debug set to 5 I was not able to reproduce the
> problem until now.

Thanks.  I think it's due to a missing endian-conversion in
ext3_clear_blocks().  Could you try the patch below?

Cheers,
 Stephen


Index: fs/ext3/inode.c
===================================================================
RCS file: /cvsroot/gkernel/ext3/fs/ext3/inode.c,v
retrieving revision 1.63
diff -u -r1.63 inode.c
--- fs/ext3/inode.c	2001/07/30 12:46:12	1.63
+++ fs/ext3/inode.c	2001/08/09 16:19:29
@@ -1522,7 +1522,7 @@
 	 * AKPM: turn on bforget in journal_forget()!!!
 	 */
 	for (p = first; p < last; p++) {
-		u32 nr = *p;
+		u32 nr = le32_to_cpu(*p);
 		if (nr) {
 			struct buffer_head *bh;
 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]