Merge tag 'mce-recovery-for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / mm / memory-failure.c
index 95fd307ebb3025580d94abe7e4a0a4ade3605ed3..0f6033b01ffc23f23adf7fd43caeaac1d2aa96f4 100644 (file)
@@ -1561,7 +1561,7 @@ int soft_offline_page(struct page *page, int flags)
                                            page_is_file_cache(page));
                list_add(&page->lru, &pagelist);
                ret = migrate_pages(&pagelist, new_page, MPOL_MF_MOVE_ALL,
-                                                               0, true);
+                                                       0, MIGRATE_SYNC);
                if (ret) {
                        putback_lru_pages(&pagelist);
                        pr_info("soft offline: %#lx: migration failed %d, type %lx\n",