summaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-10 12:07:27 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-07-06 08:54:03 +0200
commit9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c (patch)
treefa131760a61f66afeede852622ede0d716965489 /include/linux/writeback.h
parent06d738fa9155ff16dba3d7e501ba4581d01a98cb (diff)
downloadop-kernel-dev-9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c.zip
op-kernel-dev-9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c.tar.gz
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>
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r--include/linux/writeback.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index d63ef8f..f6756f6 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -27,8 +27,6 @@ enum writeback_sync_modes {
* in a manner such that unspecified fields are set to zero.
*/
struct writeback_control {
- struct backing_dev_info *bdi; /* If !NULL, only write back this
- queue */
struct super_block *sb; /* if !NULL, only write inodes from
this super_block */
enum writeback_sync_modes sync_mode;
@@ -66,7 +64,8 @@ int inode_wait(void *);
void writeback_inodes_sb(struct super_block *);
int writeback_inodes_sb_if_idle(struct super_block *);
void sync_inodes_sb(struct super_block *);
-void writeback_inodes_wbc(struct writeback_control *wbc);
+void writeback_inodes_wb(struct bdi_writeback *wb,
+ struct writeback_control *wbc);
long wb_do_writeback(struct bdi_writeback *wb, int force_wait);
void wakeup_flusher_threads(long nr_pages);
OpenPOWER on IntegriCloud