aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/backing-dev.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-28 11:28:55 -0600
committerJens Axboe <axboe@kernel.dk>2017-10-03 08:38:17 -0600
commit9dfb176fae57a1dea68531fd25e867037e4d9bac (patch)
tree753c3c5621a51ccf33d5f7c2ee1a97da5ad7cff6 /include/linux/backing-dev.h
parentwriteback: pass in '0' for nr_pages writeback in laptop mode (diff)
downloadwireguard-linux-9dfb176fae57a1dea68531fd25e867037e4d9bac.tar.xz
wireguard-linux-9dfb176fae57a1dea68531fd25e867037e4d9bac.zip
writeback: make wb_start_writeback() static
We don't have any callers outside of fs-writeback.c anymore, make it private. Acked-by: Johannes Weiner <hannes@cmpxchg.org> Tested-by: Chris Mason <clm@fb.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/backing-dev.h')
-rw-r--r--include/linux/backing-dev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index 0f63493de9e7..157e950a70dc 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -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);
}
-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_workfn(struct work_struct *work);
void wb_wakeup_delayed(struct bdi_writeback *wb);