diff options
| author | Christoph Hellwig <hch@lst.de> | 2010-06-10 06:07:27 -0400 |
|---|---|---|
| committer | Jens Axboe <jaxboe@fusionio.com> | 2010-07-06 02:54:03 -0400 |
| commit | 9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c (patch) | |
| tree | fa131760a61f66afeede852622ede0d716965489 /include | |
| parent | 06d738fa9155ff16dba3d7e501ba4581d01a98cb (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.h | 5 |
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 | */ |
| 29 | struct writeback_control { | 29 | struct 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 *); | |||
| 66 | void writeback_inodes_sb(struct super_block *); | 64 | void writeback_inodes_sb(struct super_block *); |
| 67 | int writeback_inodes_sb_if_idle(struct super_block *); | 65 | int writeback_inodes_sb_if_idle(struct super_block *); |
| 68 | void sync_inodes_sb(struct super_block *); | 66 | void sync_inodes_sb(struct super_block *); |
| 69 | void writeback_inodes_wbc(struct writeback_control *wbc); | 67 | void writeback_inodes_wb(struct bdi_writeback *wb, |
| 68 | struct writeback_control *wbc); | ||
| 70 | long wb_do_writeback(struct bdi_writeback *wb, int force_wait); | 69 | long wb_do_writeback(struct bdi_writeback *wb, int force_wait); |
| 71 | void wakeup_flusher_threads(long nr_pages); | 70 | void wakeup_flusher_threads(long nr_pages); |
| 72 | 71 | ||
