diff mbox series

[1/2] mm: unexport folio_memcg_{,un}lock

Message ID 20210820095815.445392-2-hch@lst.de (mailing list archive)
State New
Headers show
Series [1/2] mm: unexport folio_memcg_{,un}lock | expand

Commit Message

Christoph Hellwig Aug. 20, 2021, 9:58 a.m. UTC
These are only used in built-in core mm code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 mm/memcontrol.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 45a160894a035..4cb4349065931 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2014,7 +2014,6 @@  void folio_memcg_lock(struct folio *folio)
 	memcg->move_lock_task = current;
 	memcg->move_lock_flags = flags;
 }
-EXPORT_SYMBOL(folio_memcg_lock);
 
 void lock_page_memcg(struct page *page)
 {
@@ -2048,7 +2047,6 @@  void folio_memcg_unlock(struct folio *folio)
 {
 	__folio_memcg_unlock(folio_memcg(folio));
 }
-EXPORT_SYMBOL(folio_memcg_unlock);
 
 void unlock_page_memcg(struct page *page)
 {