Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208326
b: refs/heads/master
c: 08852b6
h: refs/heads/master
v: v3
  • Loading branch information
Minchan Kim authored and Jens Axboe committed Aug 7, 2010
1 parent 1f7872c commit edf1443
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: 6965031d331a642e31278fa1b5bd47f372ffdd5d
refs/heads/master: 08852b6d6c40f387f2b75e199e2ca1df68970f4c
4 changes: 2 additions & 2 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ static long wb_writeback(struct bdi_writeback *wb,
* Return the next wb_writeback_work struct that hasn't been processed yet.
*/
static struct wb_writeback_work *
get_next_work_item(struct backing_dev_info *bdi, struct bdi_writeback *wb)
get_next_work_item(struct backing_dev_info *bdi)
{
struct wb_writeback_work *work = NULL;

Expand Down Expand Up @@ -762,7 +762,7 @@ long wb_do_writeback(struct bdi_writeback *wb, int force_wait)
struct wb_writeback_work *work;
long wrote = 0;

while ((work = get_next_work_item(bdi, wb)) != NULL) {
while ((work = get_next_work_item(bdi)) != NULL) {
/*
* Override sync mode, in case we must wait for completion
* because this thread is exiting now.
Expand Down

0 comments on commit edf1443

Please sign in to comment.