diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 01:38:27 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 01:38:27 +0100 |
commit | c38c1b613d742b5fa075071568f44dc8ec9f1cb8 (patch) | |
tree | 73ac1b5e08ed331490d056ac0a27588930d592f5 /fs/jffs2/nodemgmt.c | |
parent | f560928baa605e8faaa3de6cc1b11ebb645e97db (diff) | |
download | lwn-c38c1b613d742b5fa075071568f44dc8ec9f1cb8.tar.gz lwn-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/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 /* The erase_free_sem is locked, and has been since before we marked the node obsolete and potentially put its eraseblock onto the erase_pending_list. Thus, we know that the block hasn't _already_ been erased, and that 'ref' itself hasn't been freed yet - by jffs2_free_all_node_refs() in erase.c. Which is nice. */ + by jffs2_free_jeb_node_refs() in erase.c. Which is nice. */ D1(printk(KERN_DEBUG "obliterating obsoleted node at 0x%08x\n", ref_offset(ref))); ret = jffs2_flash_read(c, ref_offset(ref), sizeof(n), &retlen, (char *)&n); |