commit | 82fd1a9a8ced9607312b54859572bcc6211e8919 | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Tue Jan 06 14:39:11 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:00 2009 -0800 |
tree | fc537a866c670a4c54895a7f75b5ccfbdeeb034c | |
parent | d5482cdf8a0aacb1e6468a97d5544f5829c8d8c4 [diff] |
mm: write_cache_pages more terminate quickly Now that we have the early-termination logic in place, it makes sense to bail out early in all other cases where done is set to 1. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: Chris Mason <chris.mason@oracle.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>