diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/backing-dev.h | 3 | ||||
| -rw-r--r-- | include/linux/writeback.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 489de625cd25..c97c6b9cd38e 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/timer.h> | 17 | #include <linux/timer.h> |
| 18 | #include <linux/writeback.h> | 18 | #include <linux/writeback.h> |
| 19 | #include <linux/atomic.h> | 19 | #include <linux/atomic.h> |
| 20 | #include <linux/sysctl.h> | ||
| 20 | 21 | ||
| 21 | struct page; | 22 | struct page; |
| 22 | struct device; | 23 | struct device; |
| @@ -304,6 +305,8 @@ void clear_bdi_congested(struct backing_dev_info *bdi, int sync); | |||
| 304 | void set_bdi_congested(struct backing_dev_info *bdi, int sync); | 305 | void set_bdi_congested(struct backing_dev_info *bdi, int sync); |
| 305 | long congestion_wait(int sync, long timeout); | 306 | long congestion_wait(int sync, long timeout); |
| 306 | long wait_iff_congested(struct zone *zone, int sync, long timeout); | 307 | long wait_iff_congested(struct zone *zone, int sync, long timeout); |
| 308 | int pdflush_proc_obsolete(struct ctl_table *table, int write, | ||
| 309 | void __user *buffer, size_t *lenp, loff_t *ppos); | ||
| 307 | 310 | ||
| 308 | static inline bool bdi_cap_writeback_dirty(struct backing_dev_info *bdi) | 311 | static inline bool bdi_cap_writeback_dirty(struct backing_dev_info *bdi) |
| 309 | { | 312 | { |
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 6d0a0fcd80e7..c66fe3332d83 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -189,9 +189,4 @@ void tag_pages_for_writeback(struct address_space *mapping, | |||
| 189 | 189 | ||
| 190 | void account_page_redirty(struct page *page); | 190 | void account_page_redirty(struct page *page); |
| 191 | 191 | ||
| 192 | /* pdflush.c */ | ||
| 193 | extern int nr_pdflush_threads; /* Global so it can be exported to sysctl | ||
| 194 | read-only. */ | ||
| 195 | |||
| 196 | |||
| 197 | #endif /* WRITEBACK_H */ | 192 | #endif /* WRITEBACK_H */ |
