]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
mm: Export migrate_page_move_mapping and migrate_page_copy
authorRichard Weinberger <richard@nod.at>
Thu, 16 Jun 2016 21:26:14 +0000 (23:26 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 9 Aug 2016 13:08:11 +0000 (15:08 +0200)
BugLink: http://bugs.launchpad.net/bugs/1607404
commit 1118dce773d84f39ebd51a9fe7261f9169cb056e upstream.

Export these symbols such that UBIFS can implement
->migratepage.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
mm/migrate.c

index bbeb0b71fcf41b99a0173ba8dbb5990190fb59ce..72c09dea65266e7d66bd2266659de4a2934a60e4 100644 (file)
@@ -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