[GIT PULL] erofs fixes for 6.12-rc4

From: Gao Xiang
Date: Mon Oct 14 2024 - 09:48:05 EST


Hi Linus,

Could you consider these three fixes for 6.12-rc4?

The main one fixes a syzbot issue due to the invalid inode type out
of file-backed mounts. The others are minor cleanups without actual
logic changes.

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

Thanks,
Gao Xiang

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.12-rc4-fixes

for you to fetch changes up to ae54567eaa87fd863ab61084a3828e1c36b0ffb0:

erofs: get rid of kaddr in `struct z_erofs_maprecorder` (2024-10-11 13:36:58 +0800)

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

- Make sure only regular inodes can be used for file-backed mounts;

- Two minor codebase cleanups.

----------------------------------------------------------------
Gao Xiang (3):
erofs: ensure regular inodes for file-backed mounts
erofs: get rid of z_erofs_try_to_claim_pcluster()
erofs: get rid of kaddr in `struct z_erofs_maprecorder`

fs/erofs/super.c | 13 ++++++++++---
fs/erofs/zdata.c | 29 +++++++++--------------------
fs/erofs/zmap.c | 32 ++++++++++++--------------------
3 files changed, 31 insertions(+), 43 deletions(-)