Commit 9dfb176f authored by Jens Axboe's avatar Jens Axboe

writeback: make wb_start_writeback() static

We don't have any callers outside of fs-writeback.c anymore,
make it private.
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Tested-by: default avatarChris Mason <clm@fb.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0ab29fd0
...@@ -933,7 +933,7 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, ...@@ -933,7 +933,7 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi,
#endif /* CONFIG_CGROUP_WRITEBACK */ #endif /* CONFIG_CGROUP_WRITEBACK */
void wb_start_writeback(struct bdi_writeback *wb, long nr_pages, static void wb_start_writeback(struct bdi_writeback *wb, long nr_pages,
enum wb_reason reason) enum wb_reason reason)
{ {
struct wb_writeback_work *work; struct wb_writeback_work *work;
......
...@@ -38,8 +38,6 @@ static inline struct backing_dev_info *bdi_alloc(gfp_t gfp_mask) ...@@ -38,8 +38,6 @@ static inline struct backing_dev_info *bdi_alloc(gfp_t gfp_mask)
return bdi_alloc_node(gfp_mask, NUMA_NO_NODE); return bdi_alloc_node(gfp_mask, NUMA_NO_NODE);
} }
void wb_start_writeback(struct bdi_writeback *wb, long nr_pages,
enum wb_reason reason);
void wb_start_background_writeback(struct bdi_writeback *wb); void wb_start_background_writeback(struct bdi_writeback *wb);
void wb_workfn(struct work_struct *work); void wb_workfn(struct work_struct *work);
void wb_wakeup_delayed(struct bdi_writeback *wb); void wb_wakeup_delayed(struct bdi_writeback *wb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment