fs: convert block_write_full_page to block_write_full_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 15 Dec 2023 20:02:44 +0000 (20:02 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:35 +0000 (11:58 -0800)
commit17bf23a981be9c6629198a76940c777eb5c8c521
tree89683c830b55016fdc9a2c72e15f161be7c0a038
parentaf34acc24bd6789cee6dcf1d114505c84a705b8c
fs: convert block_write_full_page to block_write_full_folio

Convert the function to be compatible with writepage_t so that it can be
passed to write_cache_pages() by blkdev.  This removes a call to
compound_head().  We can also remove the function export as both callers
are built-in.

Link: https://lkml.kernel.org/r/20231215200245.748418-14-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
block/fops.c
fs/buffer.c
fs/ext4/page-io.c
fs/gfs2/aops.c
fs/mpage.c
fs/ntfs/aops.c
fs/ocfs2/alloc.c
fs/ocfs2/file.c
include/linux/buffer_head.h