]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Convert mpage_readpage to mpage_read_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Apr 2022 15:47:39 +0000 (11:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:21:44 +0000 (16:21 -0400)
commit10f3a257fa0d33523a23a13b82d2901f8440a96c
tree7cab6d4b85214c1fcfc19079ea9be980b51e8b31
parentae39d402a42255a37fe9cf7240f1e770f408413b
fs: Convert mpage_readpage to mpage_read_folio

mpage_readpage still works in terms of pages, and has not been audited
for correctness with large folios, so include an assertion that the
filesystem is not passing it large folios.  Convert all the filesystems
to call mpage_read_folio() instead of mpage_readpage().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
14 files changed:
fs/exfat/inode.c
fs/ext2/inode.c
fs/fat/inode.c
fs/gfs2/aops.c
fs/hpfs/file.c
fs/iomap/buffered-io.c
fs/isofs/inode.c
fs/jfs/inode.c
fs/mpage.c
fs/nilfs2/inode.c
fs/ntfs3/inode.c
fs/qnx6/inode.c
fs/udf/inode.c
include/linux/mpage.h