Commit 4b1cb3c8 authored by Richard Weinberger's avatar Richard Weinberger Committed by Greg Kroah-Hartman

mm: Export migrate_page_move_mapping and migrate_page_copy

commit 1118dce7 upstream.

Export these symbols such that UBIFS can implement
->migratepage.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ad26023
......@@ -429,6 +429,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
......@@ -579,6 +580,7 @@ void migrate_page_copy(struct page *newpage, struct page *page)
if (PageWriteback(newpage))
end_page_writeback(newpage);
}
EXPORT_SYMBOL(migrate_page_copy);
/************************************************************
* Migration functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment