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)
commitc1955ce32fdb0877b7a1b22feb2669358f65be76
tree805b4da7168b0b16de890ea248323f3cdf5dc0b7
parent4c4762d10faf93167b84ee03e4b58dd62012b06f
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