diff options
author | Minchan Kim <minchan.kim@gmail.com> | 2010-08-03 12:51:16 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:53:01 +0200 |
commit | 08852b6d6c40f387f2b75e199e2ca1df68970f4c (patch) | |
tree | a5c10224444a93e014337e577dbd5a8aacc50e59 /fs | |
parent | 6965031d331a642e31278fa1b5bd47f372ffdd5d (diff) | |
download | kernel_goldelico_gta04-08852b6d6c40f387f2b75e199e2ca1df68970f4c.zip kernel_goldelico_gta04-08852b6d6c40f387f2b75e199e2ca1df68970f4c.tar.gz kernel_goldelico_gta04-08852b6d6c40f387f2b75e199e2ca1df68970f4c.tar.bz2 |
writeback: remove wb in get_next_work_item
83ba7b07 cleans up the writeback.
So we don't use wb any more in get_next_work_item.
Let's remove unnecessary argument.
CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs')
-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 bf10cbf..261570d 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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; @@ -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. |