mtd/fs/jffs2 gc.c,1.85,1.86 nodemgmt.c,1.79,1.80

David Woodhouse dwmw2 at infradead.org
Tue Sep 10 03:22:33 EDT 2002


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

Modified Files:
	gc.c nodemgmt.c 
Log Message:
Don't dump block lists without debugging enabled

Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- gc.c	9 Sep 2002 16:29:08 -0000	1.85
+++ gc.c	10 Sep 2002 07:22:30 -0000	1.86
@@ -131,7 +131,7 @@
 		if (c->checked_ino > c->highest_ino) {
 			printk(KERN_CRIT "Checked all inodes but still 0x%x bytes of unchecked space?\n",
 			       c->unchecked_size);
-			jffs2_dump_block_lists(c);
+			D1(jffs2_dump_block_lists(c));
 			BUG();
 		}
 		ic = jffs2_get_ino_cache(c, c->checked_ino++);

Index: nodemgmt.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodemgmt.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- nodemgmt.c	10 Sep 2002 07:03:18 -0000	1.79
+++ nodemgmt.c	10 Sep 2002 07:22:31 -0000	1.80
@@ -508,7 +508,7 @@
 	}
 }
 
-#if 1 || CONFIG_JFFS2_FS_DEBUG > 0
+#if CONFIG_JFFS2_FS_DEBUG > 0
 void jffs2_dump_block_lists(struct jffs2_sb_info *c)
 {
 





More information about the linux-mtd-cvs mailing list