diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-24 20:38:27 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-24 20:38:27 -0400 |
commit | c38c1b613d742b5fa075071568f44dc8ec9f1cb8 (patch) | |
tree | 73ac1b5e08ed331490d056ac0a27588930d592f5 /fs/jffs2/nodemgmt.c | |
parent | f560928baa605e8faaa3de6cc1b11ebb645e97db (diff) |
[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/nodemgmt.c')
-rw-r--r-- | fs/jffs2/nodemgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c index 8264eab2c899..bbc873e20807 100644 --- a/fs/jffs2/nodemgmt.c +++ b/fs/jffs2/nodemgmt.c | |||
@@ -618,7 +618,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref | |||
618 | /* The erase_free_sem is locked, and has been since before we marked the node obsolete | 618 | /* The erase_free_sem is locked, and has been since before we marked the node obsolete |
619 | and potentially put its eraseblock onto the erase_pending_list. Thus, we know that | 619 | and potentially put its eraseblock onto the erase_pending_list. Thus, we know that |
620 | the block hasn't _already_ been erased, and that 'ref' itself hasn't been freed yet | 620 | the block hasn't _already_ been erased, and that 'ref' itself hasn't been freed yet |
621 | by jffs2_free_all_node_refs() in erase.c. Which is nice. */ | 621 | by jffs2_free_jeb_node_refs() in erase.c. Which is nice. */ |
622 | 622 | ||
623 | D1(printk(KERN_DEBUG "obliterating obsoleted node at 0x%08x\n", ref_offset(ref))); | 623 | D1(printk(KERN_DEBUG "obliterating obsoleted node at 0x%08x\n", ref_offset(ref))); |
624 | ret = jffs2_flash_read(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); | 624 | ret = jffs2_flash_read(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); |