fs: Convert block_read_full_page() to block_read_full_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Apr 2022 14:40:40 +0000 (10:40 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:21:44 +0000 (16:21 -0400)
commit2c69e2057962b6bd76d72446453862eb59325b49
tree618562570ea6415752e472f1faba16ecb9c841bf
parent7479c505b4ab5ed5f81f35fdd68c44c58d6f0439
fs: Convert block_read_full_page() to block_read_full_folio()

This function is NOT converted to handle large folios, so include
an assert that the filesystem isn't passing one in.  Otherwise, use
the folio functions instead of the page functions, where they exist.
Convert all filesystems which use block_read_full_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
24 files changed:
block/fops.c
fs/adfs/inode.c
fs/affs/file.c
fs/befs/linuxvfs.c
fs/bfs/file.c
fs/buffer.c
fs/efs/inode.c
fs/ext4/readpage.c
fs/freevxfs/vxfs_subr.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/iomap/buffered-io.c
fs/minix/inode.c
fs/mpage.c
fs/ntfs/compress.c
fs/ocfs2/aops.c
fs/ocfs2/refcounttree.c
fs/omfs/file.c
fs/qnx4/inode.c
fs/reiserfs/file.c
fs/reiserfs/inode.c
fs/sysv/itree.c
fs/ufs/inode.c
include/linux/buffer_head.h