|
@@ -168,6 +168,16 @@ static inline void __bdi_writeout_inc(struct backing_dev_info *bdi)
|
|
bdi->max_prop_frac);
|
|
bdi->max_prop_frac);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+void bdi_writeout_inc(struct backing_dev_info *bdi)
|
|
|
|
+{
|
|
|
|
+ unsigned long flags;
|
|
|
|
+
|
|
|
|
+ local_irq_save(flags);
|
|
|
|
+ __bdi_writeout_inc(bdi);
|
|
|
|
+ local_irq_restore(flags);
|
|
|
|
+}
|
|
|
|
+EXPORT_SYMBOL_GPL(bdi_writeout_inc);
|
|
|
|
+
|
|
static inline void task_dirty_inc(struct task_struct *tsk)
|
|
static inline void task_dirty_inc(struct task_struct *tsk)
|
|
{
|
|
{
|
|
prop_inc_single(&vm_dirties, &tsk->dirties);
|
|
prop_inc_single(&vm_dirties, &tsk->dirties);
|