diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2010-05-19 11:32:52 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-19 11:32:52 -0400 |
commit | 9957abea31aed5783d6ca7175cce553045c0eb19 (patch) | |
tree | 7497a0b8c69426a5344cc2ddd6f211213886bf09 /fs/jffs2/nodelist.h | |
parent | cd874237d97f24f601f16a140d20803b6a79202e (diff) |
jffs2: Add 'work_done' return value from jffs2_erase_pending_blocks()
We're about to start calling this from the jffs2_garbage_collect_pass(), and
we'll want to know whether it actually did anything or not.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/nodelist.h')
-rw-r--r-- | fs/jffs2/nodelist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h index 36d7a849ee2c..a881a42f19e3 100644 --- a/fs/jffs2/nodelist.h +++ b/fs/jffs2/nodelist.h | |||
@@ -464,7 +464,7 @@ int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb | |||
464 | int jffs2_do_mount_fs(struct jffs2_sb_info *c); | 464 | int jffs2_do_mount_fs(struct jffs2_sb_info *c); |
465 | 465 | ||
466 | /* erase.c */ | 466 | /* erase.c */ |
467 | void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count); | 467 | int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count); |
468 | void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); | 468 | void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); |
469 | 469 | ||
470 | #ifdef CONFIG_JFFS2_FS_WRITEBUFFER | 470 | #ifdef CONFIG_JFFS2_FS_WRITEBUFFER |