Remove nine hidden calls to compound_head() by using a folio instead of a page.
Showing the changes to include/linux/buffer_head.h (1 of 5 files). Show all
Unified · Split
| @@ -263,7 +263,7 @@ extern int buffer_heads_over_limit; · 262 unmodified lines | ||
| 263 | 263 | void block_invalidate_folio(struct folio *folio, size_t offset, size_t length); |
| 264 | 264 | int block_write_full_page(struct page *page, get_block_t *get_block, |
| 265 | 265 | struct writeback_control *wbc); |
| 266 | −int __block_write_full_page(struct inode *inode, struct page *page, | |
| 266 | +int __block_write_full_folio(struct inode *inode, struct folio *folio, | |
| 267 | 267 | get_block_t *get_block, struct writeback_control *wbc, |
| 268 | 268 | bh_end_io_t *handler); |
| 269 | 269 | int block_read_full_folio(struct folio *, get_block_t *); |