projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb615a
)
page migration: fix wrong comment in address_space_operations.migratepage()
author
Tang Chen
<
[email protected]
>
Mon, 8 Jul 2013 23:00:21 +0000
(16:00 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 9 Jul 2013 17:33:23 +0000
(10:33 -0700)
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 <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/fs.h
patch
|
blob
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index 99be011e00dea1eeb6f2b48f7cc81035dd0acf82..cb771ecc2362353572d1ae8a662935bd484e7861 100644
(file)
--- a/
include/linux/fs.h
+++ b/
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);