aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index b92b73d0b2b9..e694bd4434a4 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -525,6 +525,7 @@ enum positive_aop_returns {
525struct page; 525struct page;
526struct address_space; 526struct address_space;
527struct writeback_control; 527struct writeback_control;
528enum migrate_mode;
528 529
529struct iov_iter { 530struct iov_iter {
530 const struct iovec *iov; 531 const struct iovec *iov;
@@ -614,7 +615,7 @@ struct address_space_operations {
614 * is false, it must not block. 615 * is false, it must not block.
615 */ 616 */
616 int (*migratepage) (struct address_space *, 617 int (*migratepage) (struct address_space *,
617 struct page *, struct page *, bool); 618 struct page *, struct page *, enum migrate_mode);
618 int (*launder_page) (struct page *); 619 int (*launder_page) (struct page *);
619 int (*is_partially_uptodate) (struct page *, read_descriptor_t *, 620 int (*is_partially_uptodate) (struct page *, read_descriptor_t *,
620 unsigned long); 621 unsigned long);
@@ -2540,7 +2541,8 @@ extern int generic_check_addressable(unsigned, u64);
2540 2541
2541#ifdef CONFIG_MIGRATION 2542#ifdef CONFIG_MIGRATION
2542extern int buffer_migrate_page(struct address_space *, 2543extern int buffer_migrate_page(struct address_space *,
2543 struct page *, struct page *, bool); 2544 struct page *, struct page *,
2545 enum migrate_mode);
2544#else 2546#else
2545#define buffer_migrate_page NULL 2547#define buffer_migrate_page NULL
2546#endif 2548#endif