]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mm: remove the account_page_dirtied export
authorChristoph Hellwig <hch@lst.de>
Fri, 12 Jul 2019 03:54:46 +0000 (20:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Jul 2019 18:05:42 +0000 (11:05 -0700)
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 <hch@lst.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page-writeback.c

index bdbe8b6b122523e3e4a013a01ce6e02a30cd9699..1804f64ff43c1c3cec898488c456e2cd52beb041 100644 (file)
@@ -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.