Straightforward conversion.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -427,7 +427,7 @@ extern int swap_writepage(struct page *page, struct writeback_control *wbc); · 426 unmodified lines | |||
| 427 | extern void end_swap_bio_write(struct bio *bio); | 427 | extern void end_swap_bio_write(struct bio *bio); |
| 428 | extern int __swap_writepage(struct page *page, struct writeback_control *wbc, | 428 | extern int __swap_writepage(struct page *page, struct writeback_control *wbc, |
| 429 | bio_end_io_t end_write_func); | 429 | bio_end_io_t end_write_func); |
| 430 | extern int swap_set_page_dirty(struct page *page); | 430 | bool swap_dirty_folio(struct address_space *mapping, struct folio *folio); |
| 431 | 431 | ||
| 432 | int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, | 432 | int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, |
| 433 | unsigned long nr_pages, sector_t start_block); | 433 | unsigned long nr_pages, sector_t start_block); |