mtd/fs/jffs2 nodelist.c,1.108,1.109 readinode.c,1.138,1.139
Artem Bityuckiy
dedekind at infradead.org
Thu Aug 4 07:41:34 EDT 2005
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv8734
Modified Files:
nodelist.c readinode.c
Log Message:
[JFFS2] minor debugging refinement
Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- nodelist.c 4 Aug 2005 11:39:59 -0000 1.108
+++ nodelist.c 4 Aug 2005 11:41:30 -0000 1.109
@@ -1010,21 +1010,14 @@
frag = (rb_entry(root->rb_node, struct jffs2_node_frag, rb));
while(frag) {
if (frag->rb.rb_left) {
- JFFS2_DBG_FRAGTREE2("going left from frag (%p) %#04x-%#04x\n",
- frag, frag->ofs, frag->ofs+frag->size);
frag = frag_left(frag);
continue;
}
if (frag->rb.rb_right) {
- JFFS2_DBG_FRAGTREE2("going right from frag (%p) %#04x-%#04x\n",
- frag, frag->ofs, frag->ofs+frag->size);
frag = frag_right(frag);
continue;
}
- JFFS2_DBG_FRAGTREE2("frag %#04x-%#04x: node %p, frags %d\n",
- frag->ofs, frag->ofs+frag->size, frag->node, frag->node?frag->node->frags:0);
-
if (frag->node && !(--frag->node->frags)) {
/* Not a hole, and it's the final remaining frag
of this node. Free the node */
Index: readinode.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/readinode.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- readinode.c 3 Aug 2005 09:28:06 -0000 1.138
+++ readinode.c 4 Aug 2005 11:41:31 -0000 1.139
@@ -424,7 +424,7 @@
len = right_size - *rdlen;
}
- JFFS2_DBG_READINODE("read more %d bytes.", len);
+ JFFS2_DBG_READINODE("read more %d bytes\n", len);
err = jffs2_flash_read(c, offs, len, &retlen, bufstart);
if (err) {
More information about the linux-mtd-cvs
mailing list