jffs2: Add 'work_done' return value from jffs2_erase_pending_blocks()
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Wed, 19 May 2010 15:32:52 +0000 (16:32 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 May 2010 15:32:52 +0000 (16:32 +0100)
commit9957abea31aed5783d6ca7175cce553045c0eb19
tree7497a0b8c69426a5344cc2ddd6f211213886bf09
parentcd874237d97f24f601f16a140d20803b6a79202e
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>
fs/jffs2/erase.c
fs/jffs2/nodelist.h