diff options
| author | Matthew Wilcox <[email protected]> | 2023-03-24 18:01:03 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-04-06 13:39:50 -0400 |
| commit | cd57b77197a434709aec0e7fb8b2e6ec8479aa4e (patch) | |
| tree | d8440fd42c39f1b32bb71790f3057691387d087d /include/linux | |
| parent | c76e14dc13bcf89f3b55fd9dcd036a453a822d79 (diff) | |
ext4: Convert ext4_bio_write_page() to use a folio
Remove several calls to compound_head() and the last caller of
set_page_writeback_keepwrite(), so remove the wrapper too.
Also export bio_add_folio() as this is the first caller from a module.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Ritesh Harjani (IBM) <[email protected]>
Reviewed-by: Theodore Ts'o <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/page-flags.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index a7e3a3405520..2e00cc14a81c 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -766,11 +766,6 @@ bool set_page_writeback(struct page *page); #define folio_start_writeback_keepwrite(folio) \ __folio_start_writeback(folio, true) -static inline void set_page_writeback_keepwrite(struct page *page) -{ - folio_start_writeback_keepwrite(page_folio(page)); -} - static inline bool test_set_page_writeback(struct page *page) { return set_page_writeback(page); |