mm: compaction: determine if dirty pages can be migrated without blocking within...
[firefly-linux-kernel-4.4.55.git] / fs / nfs / write.c
index f2f80c005c023d4911490555a874bb872a7dad55..22a48fdee3cf2cd6da473f2ea48eac3a100705c8 100644 (file)
@@ -1662,7 +1662,7 @@ out_error:
 
 #ifdef CONFIG_MIGRATION
 int nfs_migrate_page(struct address_space *mapping, struct page *newpage,
-               struct page *page)
+               struct page *page, bool sync)
 {
        /*
         * If PagePrivate is set, then the page is currently associated with
@@ -1677,7 +1677,7 @@ int nfs_migrate_page(struct address_space *mapping, struct page *newpage,
 
        nfs_fscache_release_page(page, GFP_KERNEL);
 
-       return migrate_page(mapping, newpage, page);
+       return migrate_page(mapping, newpage, page, sync);
 }
 #endif