squash mm: Export migrate_page_... : also make it non-static
authorWilly Tarreau <w@1wt.eu>
Sun, 21 Aug 2016 13:55:52 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 Aug 2016 09:40:39 +0000 (11:40 +0200)
commit ce16887b69e94a8c0305e88c918989f8bc1bd6b7 upstream.

Signed-off-by: Willy Tarreau <w@1wt.eu>
mm/migrate.c

index 2ee28c2be6a56a228f481545fc99fdf21a6ecad9..808f8abb1b8ff04aa322ca74829661f999f79390 100644 (file)
@@ -308,7 +308,7 @@ static inline bool buffer_migrate_lock_buffers(struct buffer_head *head,
  * 2 for pages with a mapping
  * 3 for pages with a mapping and PagePrivate/PagePrivate2 set.
  */
-static int migrate_page_move_mapping(struct address_space *mapping,
+int migrate_page_move_mapping(struct address_space *mapping,
                struct page *newpage, struct page *page,
                struct buffer_head *head, enum migrate_mode mode)
 {