diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 6 |
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 { | |||
| 525 | struct page; | 525 | struct page; |
| 526 | struct address_space; | 526 | struct address_space; |
| 527 | struct writeback_control; | 527 | struct writeback_control; |
| 528 | enum migrate_mode; | ||
| 528 | 529 | ||
| 529 | struct iov_iter { | 530 | struct 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 |
| 2542 | extern int buffer_migrate_page(struct address_space *, | 2543 | extern 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 |
