]> www.infradead.org Git - users/jedix/linux-maple.git/commit
erofs: convert z_erofs_pcluster_readmore() to folios
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 3 Jul 2024 12:00:48 +0000 (20:00 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 8 Jul 2024 14:09:41 +0000 (22:09 +0800)
commit1a4821a0a037f6bedd796a589d07d44547763da4
treeaefe1581a6a50ee4b310b31069520265f9a23a18
parent256abd8e550ce977b728be79a74e1729438b4948
erofs: convert z_erofs_pcluster_readmore() to folios

Unlike `pagecache_get_page()`, `__filemap_get_folio()` returns error
pointers instead of NULL, thus switching to `IS_ERR_OR_NULL`.

Apart from that, it's just a straightforward conversion.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240703120051.3653452-1-hsiangkao@linux.alibaba.com
fs/erofs/internal.h
fs/erofs/zdata.c