diff --git a/[refs] b/[refs] index ba4662fc3108..0da3092f6aaf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b1aabecd55931ee754f6a913969516b26a0e682e +refs/heads/master: 071a0bc2ceace31266836801510879407a3701fa diff --git a/trunk/mm/page-writeback.c b/trunk/mm/page-writeback.c index 6106a5c7ed44..3c84128596ba 100644 --- a/trunk/mm/page-writeback.c +++ b/trunk/mm/page-writeback.c @@ -1079,7 +1079,7 @@ int write_cache_pages(struct address_space *mapping, pagevec_release(&pvec); cond_resched(); } - if (!cycled) { + if (!cycled && !done) { /* * range_cyclic: * We hit the last page and there is more work to be done: wrap