aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2013-07-08 19:00:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 13:33:23 -0400
commitef277c73ca3b1aade278036ae11640090681d558 (patch)
tree87290bf57329a3df8c381b3078b07a137c4fc543 /include/linux/fs.h
parentbcb615a81b1765864c71c50afb56631e7a1e5283 (diff)
page migration: fix wrong comment in address_space_operations.migratepage()
There is no parameter "sync" in address_space_operations->migratepage(). It should be migrate_mode. And the comment is for MIGRATE_ASYNC. Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 99be011e00de..cb771ecc2362 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -372,8 +372,8 @@ struct address_space_operations {
372 int (*get_xip_mem)(struct address_space *, pgoff_t, int, 372 int (*get_xip_mem)(struct address_space *, pgoff_t, int,
373 void **, unsigned long *); 373 void **, unsigned long *);
374 /* 374 /*
375 * migrate the contents of a page to the specified target. If sync 375 * migrate the contents of a page to the specified target. If
376 * is false, it must not block. 376 * migrate_mode is MIGRATE_ASYNC, it must not block.
377 */ 377 */
378 int (*migratepage) (struct address_space *, 378 int (*migratepage) (struct address_space *,
379 struct page *, struct page *, enum migrate_mode); 379 struct page *, struct page *, enum migrate_mode);