diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 02:38:27 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 02:38:27 +0200 |
commit | c38c1b613d742b5fa075071568f44dc8ec9f1cb8 (patch) | |
tree | 73ac1b5e08ed331490d056ac0a27588930d592f5 /fs/jffs2/erase.c | |
parent | [JFFS2] Allocate node_ref for wasted space when skipping to page boundary (diff) | |
download | linux-c38c1b613d742b5fa075071568f44dc8ec9f1cb8.tar.xz linux-c38c1b613d742b5fa075071568f44dc8ec9f1cb8.zip |
[JFFS2] jffs2_free_all_node_refs() doesn't free them all. Rename it.
... to jffs2_free_jeb_node_refs() since that's what it does.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/erase.c')
-rw-r--r-- | fs/jffs2/erase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c index f939f908b948..aea58ee64d23 100644 --- a/fs/jffs2/erase.c +++ b/fs/jffs2/erase.c @@ -135,7 +135,7 @@ void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count) c->used_size -= jeb->used_size; c->dirty_size -= jeb->dirty_size; jeb->wasted_size = jeb->used_size = jeb->dirty_size = jeb->free_size = 0; - jffs2_free_all_node_refs(c, jeb); + jffs2_free_jeb_node_refs(c, jeb); list_add(&jeb->list, &c->erasing_list); spin_unlock(&c->erase_completion_lock); @@ -283,7 +283,7 @@ static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c, jffs2_del_ino_cache(c, ic); } -void jffs2_free_all_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) +void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) { struct jffs2_raw_node_ref *ref; D1(printk(KERN_DEBUG "Freeing all node refs for eraseblock offset 0x%08x\n", jeb->offset)); |