mtd/fs/jffs2 nodemgmt.c,1.89,1.90
David Woodhouse
dwmw2 at infradead.org
Fri Jan 17 19:27:45 EST 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv11168
Modified Files:
nodemgmt.c
Log Message:
Print new node status in jffs2_add_physical_node_ref() for debugging
REF_PRISTINE
Index: nodemgmt.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodemgmt.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- nodemgmt.c 14 Jan 2003 14:54:32 -0000 1.89
+++ nodemgmt.c 18 Jan 2003 00:27:43 -0000 1.90
@@ -284,7 +284,7 @@
uint32_t len = new->totlen;
jeb = &c->blocks[new->flash_offset / c->sector_size];
- D1(printk(KERN_DEBUG "jffs2_add_physical_node_ref(): Node at 0x%x, size 0x%x\n", ref_offset(new), len));
+ D1(printk(KERN_DEBUG "jffs2_add_physical_node_ref(): Node at 0x%x(%d), size 0x%x\n", ref_offset(new), ref_flags(new), len));
#if 1
if (jeb != c->nextblock || (ref_offset(new)) != jeb->offset + (c->sector_size - jeb->free_size)) {
printk(KERN_WARNING "argh. node added in wrong place\n");
More information about the linux-mtd-cvs
mailing list