diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-28 11:28:55 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 08:38:17 -0600 |
commit | 9dfb176fae57a1dea68531fd25e867037e4d9bac (patch) | |
tree | 753c3c5621a51ccf33d5f7c2ee1a97da5ad7cff6 /fs/fs-writeback.c | |
parent | 0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c (diff) | |
download | linux-9dfb176fae57a1dea68531fd25e867037e4d9bac.tar.gz linux-9dfb176fae57a1dea68531fd25e867037e4d9bac.tar.bz2 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 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 9f39829459dc..f1042061eaad 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -933,8 +933,8 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, #endif /* CONFIG_CGROUP_WRITEBACK */ -void wb_start_writeback(struct bdi_writeback *wb, long nr_pages, - enum wb_reason reason) +static void wb_start_writeback(struct bdi_writeback *wb, long nr_pages, + enum wb_reason reason) { struct wb_writeback_work *work; |