diff options
-rw-r--r-- | fs/fs-writeback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index bf10cbf379dd..261570deb22c 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -704,7 +704,7 @@ static long wb_writeback(struct bdi_writeback *wb, | |||
704 | * Return the next wb_writeback_work struct that hasn't been processed yet. | 704 | * Return the next wb_writeback_work struct that hasn't been processed yet. |
705 | */ | 705 | */ |
706 | static struct wb_writeback_work * | 706 | static struct wb_writeback_work * |
707 | get_next_work_item(struct backing_dev_info *bdi, struct bdi_writeback *wb) | 707 | get_next_work_item(struct backing_dev_info *bdi) |
708 | { | 708 | { |
709 | struct wb_writeback_work *work = NULL; | 709 | struct wb_writeback_work *work = NULL; |
710 | 710 | ||
@@ -762,7 +762,7 @@ long wb_do_writeback(struct bdi_writeback *wb, int force_wait) | |||
762 | struct wb_writeback_work *work; | 762 | struct wb_writeback_work *work; |
763 | long wrote = 0; | 763 | long wrote = 0; |
764 | 764 | ||
765 | while ((work = get_next_work_item(bdi, wb)) != NULL) { | 765 | while ((work = get_next_work_item(bdi)) != NULL) { |
766 | /* | 766 | /* |
767 | * Override sync mode, in case we must wait for completion | 767 | * Override sync mode, in case we must wait for completion |
768 | * because this thread is exiting now. | 768 | * because this thread is exiting now. |