summaryrefslogtreecommitdiff
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-06-16 23:26:14 +0200
committerRichard Weinberger <richard@nod.at>2016-06-23 00:29:45 +0200
commit1118dce773d84f39ebd51a9fe7261f9169cb056e (patch)
treee4cde8567248eea253d5238e8c67022ebeb44840 /mm/migrate.c
parent972228d87445dc46c0a01f5f3de673ac017626f7 (diff)
downloadlwn-1118dce773d84f39ebd51a9fe7261f9169cb056e.tar.gz
lwn-1118dce773d84f39ebd51a9fe7261f9169cb056e.zip
mm: Export migrate_page_move_mapping and migrate_page_copy
Export these symbols such that UBIFS can implement ->migratepage. Cc: stable@vger.kernel.org Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 9baf41c877ff..bd3fdc202e8b 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -431,6 +431,7 @@ int migrate_page_move_mapping(struct address_space *mapping,
return MIGRATEPAGE_SUCCESS;
}
+EXPORT_SYMBOL(migrate_page_move_mapping);
/*
* The expected number of remaining references is the same as that
@@ -586,6 +587,7 @@ void migrate_page_copy(struct page *newpage, struct page *page)
mem_cgroup_migrate(page, newpage);
}
+EXPORT_SYMBOL(migrate_page_copy);
/************************************************************
* Migration functions