Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2009 17:56:14 +0000 (09:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2009 17:56:14 +0000 (09:56 -0800)
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
  mm: Export symbol ksize()

mm/page-writeback.c

index 6106a5c..3c84128 100644 (file)
@@ -1079,7 +1079,7 @@ continue_unlock:
                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