aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@kvack.org>2013-12-21 17:56:08 -0500
committerMoyster <oysterized@gmail.com>2017-07-21 12:38:30 +0200
commitb4c41710906bf35aebb3c34b57146d65aa8e3d8b (patch)
treeddb0c86e176164b16b3aca1946ff87df65fb05c1 /include/linux
parentf2c17060e41b8a080669ddcd98fbf1158e23e013 (diff)
mm: make migrate_page_move_mapping() take an extra_count parameter
Needed for f2fs upstream. Referenced from https://github.com/torvalds/linux/commit/8e321fefb0e60bae4e2a28d20fc4fa30758d27c6#diff-8e2530775024feb6361f8a93e833d3c1R342
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/migrate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index e98692748..70af148d5 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -56,8 +56,9 @@ extern void migrate_page_copy(struct page *newpage, struct page *page);
extern int migrate_huge_page_move_mapping(struct address_space *mapping,
struct page *newpage, struct page *page);
extern int migrate_page_move_mapping(struct address_space *mapping,
- struct page *newpage, struct page *page,
- struct buffer_head *head, enum migrate_mode mode);
+ struct page *newpage, struct page *page,
+ struct buffer_head *head, enum migrate_mode mode,
+ int extra_count);
#else
static inline void putback_lru_pages(struct list_head *l) {}