Prev: [Bug #15664] Graphics hang and kernel backtrace when starting Azureus with Compiz enabled
Next: 2.6.35-rc6-git6: Reported regressions from 2.6.34
From: Minchan Kim on 1 Aug 2010 10:50 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(a)lst.de> CC: Jens Axboe <jaxboe(a)fusionio.com> Signed-off-by: Minchan Kim <minchan.kim(a)gmail.com> --- 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 a178828..9a55257 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -712,7 +712,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; @@ -770,7 +770,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. -- 1.7.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |