[GIT PULL] erofs fixes for 6.8-rc1

From: Gao Xiang
Date: Thu Jan 18 2024 - 10:32:43 EST


Hi Linus,

Could you consider this pull request for v6.8?

It simply contains a fixed commit of the previous problematic one
mentioned in [1] and a folio helper cleanup.

All commits have been in -next and no potential merge conflict is
observed.

[1] https://lore.kernel.org/r/ZZ6M8CCkunjfbt+%2F@debian

Thanks,
Gao Xiang

The following changes since commit 0dd3ee31125508cd67f7e7172247f05b7fd1753a:

Linux 6.7 (2024-01-07 12:18:38 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.8-rc1-fixes

for you to fetch changes up to 2b872b0f466d2acb4491da845c66b49246d5cdf9:

erofs: Don't use certain unnecessary folio_*() functions (2024-01-15 23:52:52 +0800)

----------------------------------------------------------------
Changes since last update:

- Fix a "BUG: kernel NULL pointer dereference" issue due to
inconsistent on-disk indices of compressed inodes against
per-sb `available_compr_algs` generated by Syzkaller;

- Don't use certain unnecessary folio_*() helpers if the folio
type (page cache) is known.

----------------------------------------------------------------
David Howells (1):
erofs: Don't use certain unnecessary folio_*() functions

Gao Xiang (1):
erofs: fix inconsistent per-file compression format

fs/erofs/decompressor.c | 2 +-
fs/erofs/fscache.c | 6 +++---
fs/erofs/zmap.c | 23 +++++++++++++----------
3 files changed, 17 insertions(+), 14 deletions(-)