From: Christoph Hellwig <hch@xxxxxx> Subject: mm: remove the account_page_dirtied export account_page_dirtied() is only used by our set_page_dirty() helpers and should not be used anywhere else. Link: http://lkml.kernel.org/r/20190605183702.30572-1-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page-writeback.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/page-writeback.c~mm-remove-the-account_page_dirtied-export +++ a/mm/page-writeback.c @@ -2429,7 +2429,6 @@ void account_page_dirtied(struct page *p this_cpu_inc(bdp_ratelimits); } } -EXPORT_SYMBOL(account_page_dirtied); /* * Helper function for deaccounting dirty page without writeback. _