]> git.baikalelectronics.ru Git - kernel.git/commit
writeback: remove wb_list
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Jun 2010 21:08:06 +0000 (23:08 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:23:03 +0000 (18:23 +0200)
commita48183f671ae56cd761631307161a0aa48df2f5a
tree805b4da7168b0b16de890ea248323f3cdf5dc0b7
parentb62a3781259cff7ddb7cf5b1ea799ac566a290b8
writeback: remove wb_list

The wb_list member of struct backing_device_info always has exactly one
element.  Just use the direct bdi->wb pointer instead and simplify some
code.

Also remove bdi_task_init which is now trivial to prepare for the next
patch.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/fs-writeback.c
include/linux/backing-dev.h
mm/backing-dev.c