Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195982
b: refs/heads/master
c: d6ce171
h: refs/heads/master
v: v3
  • Loading branch information
Joakim Tjernlund authored and David Woodhouse committed May 19, 2010
1 parent 0bbd5c3 commit 8a71b8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0717bf8411bb673dd2369aaa096f7396446b38f5
refs/heads/master: d6ce171069635f05737935adc813b4d48d71a583
4 changes: 4 additions & 0 deletions trunk/fs/jffs2/nodemgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,10 @@ int jffs2_thread_should_wake(struct jffs2_sb_info *c)
int nr_very_dirty = 0;
struct jffs2_eraseblock *jeb;

if (!list_empty(&c->erase_complete_list) ||
!list_empty(&c->erase_pending_list))
return 1;

if (c->unchecked_size) {
D1(printk(KERN_DEBUG "jffs2_thread_should_wake(): unchecked_size %d, checked_ino #%d\n",
c->unchecked_size, c->checked_ino));
Expand Down

0 comments on commit 8a71b8b

Please sign in to comment.