Subject: Re: mmotm 2019-07-17-16-05 uploaded

From: Stephen Rothwell <[email-masked]>
Date: Thu, 18 Jul 2019 13:21:11 +1000

Hi Andrew,

On Wed, 17 Jul 2019 16:06:10 -0700 [email-masked] wrote:
>
> * mm-migrate-remove-unused-mode-argument.patch

This patch needs updating due to changes in the iomap tree.

The section that updated fs/iomap/migrate.c should be replaced by:

diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
index da4d958f9dc8..e25901ae3ff4 100644
--- a/fs/iomap/buffered-io.c
+++ b/fs/iomap/buffered-io.c
@@ -489,7 +489,7 @@ iomap_migrate_page(struct address_space *mapping, struct page *newpage,
 {
 	int ret;
 
-	ret = migrate_page_move_mapping(mapping, newpage, page, mode, 0);
+	ret = migrate_page_move_mapping(mapping, newpage, page, 0);
 	if (ret != MIGRATEPAGE_SUCCESS)
 		return ret;
 
-- 
Cheers,
Stephen Rothwell