diff options
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 */ |