Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166334
b: refs/heads/master
c: 7fbdea3
h: refs/heads/master
v: v3
  • Loading branch information
Wu Fengguang authored and Jens Axboe committed Sep 25, 2009
1 parent 705ce84 commit fa50016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3ddec7635b6fb37cb49e3553bdeea59642be653
refs/heads/master: 7fbdea32328312c65870c397a0a436c3226c8631
4 changes: 2 additions & 2 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ static long wb_writeback(struct bdi_writeback *wb,
/*
* If we ran out of stuff to write, bail unless more_io got set
*/
if (wbc.nr_to_write > 0 || wbc.pages_skipped > 0) {
if (wbc.more_io && !wbc.for_kupdate) {
if (wbc.nr_to_write > 0) {
if (wbc.more_io) {
if (wbc.nr_to_write < MAX_WRITEBACK_PAGES)
continue;
/*
Expand Down

0 comments on commit fa50016

Please sign in to comment.