aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-10 06:07:27 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-07-06 02:54:03 -0400
commit9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c (patch)
treefa131760a61f66afeede852622ede0d716965489 /include
parent06d738fa9155ff16dba3d7e501ba4581d01a98cb (diff)
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')
-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 d63ef8f9609f..f6756f6a610c 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -27,8 +27,6 @@ enum writeback_sync_modes {
27 * in a manner such that unspecified fields are set to zero. 27 * in a manner such that unspecified fields are set to zero.
28 */ 28 */
29struct writeback_control { 29struct writeback_control {
30 struct backing_dev_info *bdi; /* If !NULL, only write back this
31 queue */
32 struct super_block *sb; /* if !NULL, only write inodes from 30 struct super_block *sb; /* if !NULL, only write inodes from
33 this super_block */ 31 this super_block */
34 enum writeback_sync_modes sync_mode; 32 enum writeback_sync_modes sync_mode;
@@ -66,7 +64,8 @@ int inode_wait(void *);
66void writeback_inodes_sb(struct super_block *); 64void writeback_inodes_sb(struct super_block *);
67int writeback_inodes_sb_if_idle(struct super_block *); 65int writeback_inodes_sb_if_idle(struct super_block *);
68void sync_inodes_sb(struct super_block *); 66void sync_inodes_sb(struct super_block *);
69void writeback_inodes_wbc(struct writeback_control *wbc); 67void writeback_inodes_wb(struct bdi_writeback *wb,
68 struct writeback_control *wbc);
70long wb_do_writeback(struct bdi_writeback *wb, int force_wait); 69long wb_do_writeback(struct bdi_writeback *wb, int force_wait);
71void wakeup_flusher_threads(long nr_pages); 70void wakeup_flusher_threads(long nr_pages);
72 71