aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-05-18 02:20:32 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-09-11 03:20:25 -0400
commitd0bceac747b547c0b4769b91fec7d3c15600153f (patch)
treef8de99db3c0cdafb01a801d1c2e94b2f5ddac967 /include/linux/writeback.h
parent03ba3782e8dcc5b0e1efe440d33084f066e38cae (diff)
writeback: get rid of pdflush completely
It is now unused, so kill it off. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r--include/linux/writeback.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index cef75527a14..78b1e4684cc 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -14,17 +14,6 @@ extern struct list_head inode_in_use;
14extern struct list_head inode_unused; 14extern struct list_head inode_unused;
15 15
16/* 16/*
17 * Yes, writeback.h requires sched.h
18 * No, sched.h is not included from here.
19 */
20static inline int task_is_pdflush(struct task_struct *task)
21{
22 return task->flags & PF_FLUSHER;
23}
24
25#define current_is_pdflush() task_is_pdflush(current)
26
27/*
28 * fs/fs-writeback.c 17 * fs/fs-writeback.c
29 */ 18 */
30enum writeback_sync_modes { 19enum writeback_sync_modes {
@@ -155,7 +144,6 @@ balance_dirty_pages_ratelimited(struct address_space *mapping)
155typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc, 144typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
156 void *data); 145 void *data);
157 146
158int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0);
159int generic_writepages(struct address_space *mapping, 147int generic_writepages(struct address_space *mapping,
160 struct writeback_control *wbc); 148 struct writeback_control *wbc);
161int write_cache_pages(struct address_space *mapping, 149int write_cache_pages(struct address_space *mapping,