Skip to contentSkip to conversation

page-migration-fix-wrong-comment-in-address_space_operationsmigratepage.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2013 VFS

lore
Share & tools
lore
#0 lore raw

Subject: [merged] page-migration-fix-wrong-comment-in-address_space_operationsmigratepage.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:20:21 -0700

The patch titled
Subject: page migration: fix wrong comment in address_space_operations.migratepage()
has been removed from the -mm tree. Its filename was
page-migration-fix-wrong-comment-in-address_space_operationsmigratepage.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Tang Chen <[email protected]>
Subject: page migration: fix wrong comment in address_space_operations.migratepage()

There is no parameter "sync" in address_space_operations->migratepage(). It should be mograte_mode. And the comment is for MIGRATE_ASYNC.

---

 include/linux/fs.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/fs.h renamed from include/linux/fs.h~page-migration-fix-wrong-comment-in-address_space_operationsmigratepage +2 -2
diff -puN include/linux/fs.h~page-migration-fix-wrong-comment-in-address_space_operationsmigratepage include/linux/fs.h
@@ -372,8 +372,8 @@ struct address_space_operations {
 	int (*get_xip_mem)(struct address_space *, pgoff_t, int,
 						void **, unsigned long *);
 	/*
-	 * migrate the contents of a page to the specified target. If sync
-	 * is false, it must not block.
+	 * migrate the contents of a page to the specified target. If
+	 * migrate_mode is MIGRATE_ASYNC, it must not block.
 	 */
 	int (*migratepage) (struct address_space *,
 			struct page *, struct page *, enum migrate_mode);

_

Patches currently in -mm which might be from [email protected] are

origin.patch