diff options
author | Christoph Hellwig <hch@lst.de> | 2019-07-11 23:54:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-12 14:05:42 -0400 |
commit | ac1c3e49a9a734150b33297eeca5b43d92fd5be8 (patch) | |
tree | 253b90890ec861d1c8c17d5e84557528e2d2bf92 /mm/page-writeback.c | |
parent | 219f8a2e25f0abbe222b170a0de2fd38c22d43ad (diff) |
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 <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>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index bdbe8b6b1225..1804f64ff43c 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) | |||
2429 | this_cpu_inc(bdp_ratelimits); | 2429 | this_cpu_inc(bdp_ratelimits); |
2430 | } | 2430 | } |
2431 | } | 2431 | } |
2432 | EXPORT_SYMBOL(account_page_dirtied); | ||
2433 | 2432 | ||
2434 | /* | 2433 | /* |
2435 | * Helper function for deaccounting dirty page without writeback. | 2434 | * Helper function for deaccounting dirty page without writeback. |