diff options
Diffstat (limited to 'include/linux/backing-dev.h')
| -rw-r--r-- | include/linux/backing-dev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index bd0e3c6f323f..aee5f6ce166e 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
| 15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
| 16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
| 17 | #include <linux/timer.h> | ||
| 17 | #include <linux/writeback.h> | 18 | #include <linux/writeback.h> |
| 18 | #include <asm/atomic.h> | 19 | #include <asm/atomic.h> |
| 19 | 20 | ||
| @@ -88,6 +89,8 @@ struct backing_dev_info { | |||
| 88 | 89 | ||
| 89 | struct device *dev; | 90 | struct device *dev; |
| 90 | 91 | ||
| 92 | struct timer_list laptop_mode_wb_timer; | ||
| 93 | |||
| 91 | #ifdef CONFIG_DEBUG_FS | 94 | #ifdef CONFIG_DEBUG_FS |
| 92 | struct dentry *debug_dir; | 95 | struct dentry *debug_dir; |
| 93 | struct dentry *debug_stats; | 96 | struct dentry *debug_stats; |
| @@ -106,6 +109,7 @@ void bdi_start_writeback(struct backing_dev_info *bdi, struct super_block *sb, | |||
| 106 | long nr_pages); | 109 | long nr_pages); |
| 107 | int bdi_writeback_task(struct bdi_writeback *wb); | 110 | int bdi_writeback_task(struct bdi_writeback *wb); |
| 108 | int bdi_has_dirty_io(struct backing_dev_info *bdi); | 111 | int bdi_has_dirty_io(struct backing_dev_info *bdi); |
| 112 | void bdi_arm_supers_timer(void); | ||
| 109 | 113 | ||
| 110 | extern spinlock_t bdi_lock; | 114 | extern spinlock_t bdi_lock; |
| 111 | extern struct list_head bdi_list; | 115 | extern struct list_head bdi_list; |
