diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-08-05 07:43:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 13:14:35 -0500 |
commit | 45ca1b509ea156e87c99e529821fb3b548e14fe3 (patch) | |
tree | cd04eb424ea8205f2f2d9e92bf5abfc7431250fc /fs/jffs2/nodelist.c | |
parent | 3c09133739beff0d5ad457dfcfc85c7c350d3661 (diff) |
[JFFS2] Debug code clean up - step 7
Remove more noisy debugs. Add current->pid to debug messages.
Remove bogus includes.
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2/nodelist.c')
-rw-r--r-- | fs/jffs2/nodelist.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/jffs2/nodelist.c b/fs/jffs2/nodelist.c index b5f73ab6553c..cd366ab1f020 100644 --- a/fs/jffs2/nodelist.c +++ b/fs/jffs2/nodelist.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: nodelist.c,v 1.108 2005/08/04 11:39:59 dedekind Exp $ | 10 | * $Id: nodelist.c,v 1.109 2005/08/04 11:41:30 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -1010,21 +1010,14 @@ void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c) | |||
1010 | frag = (rb_entry(root->rb_node, struct jffs2_node_frag, rb)); | 1010 | frag = (rb_entry(root->rb_node, struct jffs2_node_frag, rb)); |
1011 | while(frag) { | 1011 | while(frag) { |
1012 | if (frag->rb.rb_left) { | 1012 | if (frag->rb.rb_left) { |
1013 | JFFS2_DBG_FRAGTREE2("going left from frag (%p) %#04x-%#04x\n", | ||
1014 | frag, frag->ofs, frag->ofs+frag->size); | ||
1015 | frag = frag_left(frag); | 1013 | frag = frag_left(frag); |
1016 | continue; | 1014 | continue; |
1017 | } | 1015 | } |
1018 | if (frag->rb.rb_right) { | 1016 | if (frag->rb.rb_right) { |
1019 | JFFS2_DBG_FRAGTREE2("going right from frag (%p) %#04x-%#04x\n", | ||
1020 | frag, frag->ofs, frag->ofs+frag->size); | ||
1021 | frag = frag_right(frag); | 1017 | frag = frag_right(frag); |
1022 | continue; | 1018 | continue; |
1023 | } | 1019 | } |
1024 | 1020 | ||
1025 | JFFS2_DBG_FRAGTREE2("frag %#04x-%#04x: node %p, frags %d\n", | ||
1026 | frag->ofs, frag->ofs+frag->size, frag->node, frag->node?frag->node->frags:0); | ||
1027 | |||
1028 | if (frag->node && !(--frag->node->frags)) { | 1021 | if (frag->node && !(--frag->node->frags)) { |
1029 | /* Not a hole, and it's the final remaining frag | 1022 | /* Not a hole, and it's the final remaining frag |
1030 | of this node. Free the node */ | 1023 | of this node. Free the node */ |