mtd/fs/jffs2 readinode.c,1.112,1.113

David Woodhouse dwmw2 at infradead.org
Mon Nov 3 08:20:36 EST 2003


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

Modified Files:
	readinode.c 
Log Message:
Less fragtree walking.

Index: readinode.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/readinode.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- readinode.c	1 Nov 2003 16:28:13 -0000	1.112
+++ readinode.c	3 Nov 2003 13:20:33 -0000	1.113
@@ -190,7 +190,7 @@
 				mark_ref_normal(next->node->raw);
 		}
 	}
-	D1(if (jffs2_sanitycheck_fragtree(f)) {
+	D2(if (jffs2_sanitycheck_fragtree(f)) {
 		   printk(KERN_WARNING "Just added node %04x-%04x @0x%08x on flash, newfrag *%p\n",
 			  fn->ofs, fn->ofs+fn->size, ref_offset(fn->raw), newfrag);
 		   return 0;
@@ -557,6 +557,8 @@
 		tn_list = tn->next;
 		jffs2_free_tmp_dnode_info(tn);
 	}
+	D1(jffs2_sanitycheck_fragtree(f));
+
 	if (!fn) {
 		/* No data nodes for this inode. */
 		if (f->inocache->ino != 1) {




More information about the linux-mtd-cvs mailing list