diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2010-05-19 16:55:40 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-19 16:55:40 +0100 |
commit | d6ce171069635f05737935adc813b4d48d71a583 (patch) | |
tree | b0356df55a3d86cf9f5074ea926294fd3a206607 /mm/util.c | |
parent | 0717bf8411bb673dd2369aaa096f7396446b38f5 (diff) | |
download | linux-d6ce171069635f05737935adc813b4d48d71a583.tar.gz linux-d6ce171069635f05737935adc813b4d48d71a583.tar.bz2 linux-d6ce171069635f05737935adc813b4d48d71a583.zip |
jffs2: Wake GC thread when there are blocks to be erased
Now that we trigger block erases from jffs2_garbage_collect_pass(),
adjust jffs2_thread_should_wake() to return 1 when there are blocks to
erase.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions