Skip to content

Commit

Permalink
writeback: make wb_start_writeback() static
Browse files Browse the repository at this point in the history
We don't have any callers outside of fs-writeback.c anymore,
make it private.

Acked-by: Johannes Weiner <[email protected]>
Tested-by: Chris Mason <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Oct 3, 2017
1 parent 0ab29fd commit 9dfb176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions include/linux/backing-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9dfb176

Please sign in to comment.