diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page-writeback.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index bbcb916190c9..c90a1e8e479f 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -168,6 +168,16 @@ static inline void __bdi_writeout_inc(struct backing_dev_info *bdi) | |||
168 | bdi->max_prop_frac); | 168 | bdi->max_prop_frac); |
169 | } | 169 | } |
170 | 170 | ||
171 | void bdi_writeout_inc(struct backing_dev_info *bdi) | ||
172 | { | ||
173 | unsigned long flags; | ||
174 | |||
175 | local_irq_save(flags); | ||
176 | __bdi_writeout_inc(bdi); | ||
177 | local_irq_restore(flags); | ||
178 | } | ||
179 | EXPORT_SYMBOL_GPL(bdi_writeout_inc); | ||
180 | |||
171 | static inline void task_dirty_inc(struct task_struct *tsk) | 181 | static inline void task_dirty_inc(struct task_struct *tsk) |
172 | { | 182 | { |
173 | prop_inc_single(&vm_dirties, &tsk->dirties); | 183 | prop_inc_single(&vm_dirties, &tsk->dirties); |