History

mm: Convert swap_set_page_dirty() to swap_dirty_folio()

Straightforward conversion.

Matthew Wilcox (Oracle) committed 4 years ago

Commit 7e63df01 parent 1f1d14d3 files · +12 −10Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/swap.h+1−1
@@ -427,7 +427,7 @@ extern int swap_writepage(struct page *page, struct writeback_control *wbc); · 426 unmodified lines
427427 extern void end_swap_bio_write(struct bio *bio);
428428 extern int __swap_writepage(struct page *page, struct writeback_control *wbc,
429429 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);
431431
432432 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page,
433433 unsigned long nr_pages, sector_t start_block);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t