mtd/fs/jffs2 gc.c,1.113,1.114

David Woodhouse dwmw2 at infradead.org
Thu Oct 9 09:53:38 EDT 2003


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

Modified Files:
	gc.c 
Log Message:
Remove one debugging message, add a missing KERN_DEBUG


Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- gc.c	9 Oct 2003 01:17:38 -0000	1.113
+++ gc.c	9 Oct 2003 13:53:35 -0000	1.114
@@ -1124,8 +1124,7 @@
 
 		/* Find last frag which is actually part of the node we're to GC. */
 		frag = jffs2_lookup_node_frag(&f->fragtree, end-1);
-		D1(printk("for expand up, looked up frag at (0x%x-0x%x). Next %p\n", 
-			  frag->ofs, frag->ofs+frag->size, frag_next(frag)));
+
 		while((frag = frag_next(frag)) && frag->ofs+frag->size <= max) {
 
 			/* If the previous frag doesn't even reach the beginning, there's lots
@@ -1170,7 +1169,7 @@
 				break;
 			}
 		}
-		D1(printk("Expanded dnode to write from (0x%x-0x%x) to (0x%x-0x%x)\n", 
+		D1(printk(KERN_DEBUG "Expanded dnode to write from (0x%x-0x%x) to (0x%x-0x%x)\n", 
 			  orig_start, orig_end, start, end));
 
 		BUG_ON(end > JFFS2_F_I_SIZE(f));




More information about the linux-mtd-cvs mailing list