mtd/fs/jffs2 debug.c,1.2,1.3

Artem Bityuckiy dedekind at infradead.org
Mon Jul 18 08:37:14 EDT 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv4254

Modified Files:
	debug.c 
Log Message:
[JFFS2] fix the acct check function

In JFFS2 it is not obligatory for eraseblock to be fully covered by node_refs.


Index: debug.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/debug.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- debug.c	17 Jul 2005 11:54:40 -0000	1.2
+++ debug.c	18 Jul 2005 12:37:11 -0000	1.3
@@ -160,6 +160,8 @@
 		BUG();
 	}
 
+#if 0
+	/* This should work when we implement ref->__totlen elemination */
 	if (my_dirty_size != jeb->dirty_size + jeb->wasted_size) {
 		printk(KERN_ERR "Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n",
 			my_dirty_size, jeb->dirty_size + jeb->wasted_size);
@@ -177,6 +179,7 @@
 		jffs2_dbg_dump_block_lists(c);
 		BUG();
 	}
+#endif
 }
 #endif /* JFFS2_PARANOIA_CHECKS */
 





More information about the linux-mtd-cvs mailing list