Commit 1a4821a
committed
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 256abd8 commit 1a4821a
2 files changed
+12
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
322 | 318 | | |
323 | | - | |
| 319 | + | |
324 | 320 | | |
325 | | - | |
| 321 | + | |
326 | 322 | | |
327 | 323 | | |
328 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | | - | |
1771 | 1770 | | |
1772 | 1771 | | |
1773 | 1772 | | |
1774 | 1773 | | |
1775 | 1774 | | |
1776 | 1775 | | |
1777 | 1776 | | |
1778 | | - | |
| 1777 | + | |
1779 | 1778 | | |
1780 | | - | |
1781 | | - | |
1782 | | - | |
1783 | | - | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1784 | 1783 | | |
1785 | | - | |
1786 | | - | |
| 1784 | + | |
| 1785 | + | |
1787 | 1786 | | |
1788 | 1787 | | |
1789 | 1788 | | |
| |||
0 commit comments