From: Christoph Hellwig Date: Fri, 12 Jul 2019 03:54:46 +0000 (-0700) Subject: mm: remove the account_page_dirtied export X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac1c3e49a9a734150b33297eeca5b43d92fd5be8;p=linux.git 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@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page-writeback.c b/mm/page-writeback.c index bdbe8b6b12252..1804f64ff43c1 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2429,7 +2429,6 @@ void account_page_dirtied(struct page *page, struct address_space *mapping) this_cpu_inc(bdp_ratelimits); } } -EXPORT_SYMBOL(account_page_dirtied); /* * Helper function for deaccounting dirty page without writeback.