writeback: remove writeback_inodes_wbc
This was just an odd wrapper around writeback_inodes_wb. Removing this also allows to get rid of the bdi member of struct writeback_control which was rather out of place there. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:

committed by
Jens Axboe

parent
06d738fa91
commit
9c3a8ee8a1
@@ -680,7 +680,6 @@ int afs_writeback_all(struct afs_vnode *vnode)
|
||||
{
|
||||
struct address_space *mapping = vnode->vfs_inode.i_mapping;
|
||||
struct writeback_control wbc = {
|
||||
.bdi = mapping->backing_dev_info,
|
||||
.sync_mode = WB_SYNC_ALL,
|
||||
.nr_to_write = LONG_MAX,
|
||||
.range_cyclic = 1,
|
||||
|
Reference in New Issue
Block a user