Skip to content

Commit 1118dce

Browse files
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>
1 parent 972228d commit 1118dce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mm/migrate.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ int migrate_page_move_mapping(struct address_space *mapping,
431431

432432
return MIGRATEPAGE_SUCCESS;
433433
}
434+
EXPORT_SYMBOL(migrate_page_move_mapping);
434435

435436
/*
436437
* 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)
586587

587588
mem_cgroup_migrate(page, newpage);
588589
}
590+
EXPORT_SYMBOL(migrate_page_copy);
589591

590592
/************************************************************
591593
* Migration functions

0 commit comments

Comments
 (0)