Skip to content

Commit

Permalink
mm: Export migrate_page_move_mapping and migrate_page_copy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Weinberger committed Jun 22, 2016
1 parent 972228d commit 1118dce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1118dce

Please sign in to comment.