[GIT PULL] erofs fixes for 5.15-rc3

From: Gao Xiang
Date: Sat Sep 25 2021 - 12:00:18 EST


Hi Linus,

Could you consider this pull request for 5.15-rc3?

2 bugfixes are included in order to fix the 4KiB blockmap chunk format
availability and a dangling pointer usage. There is also a trivial
cleanup to clarify compacted_2b if compacted_4b_initial > totalidx.

All commits have been in -next. This merges cleanly with master.

Thanks,
Gao Xiang

The following changes since commit e4e737bb5c170df6135a127739a9e6148ee3da82:

Linux 5.15-rc2 (2021-09-19 17:28:22 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.15-rc3-fixes

for you to fetch changes up to c40dd3ca2a45d5bd6e8b3f4ace5cb81493096263:

erofs: clear compacted_2b if compacted_4b_initial > totalidx (2021-09-23 23:23:04 +0800)

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

- fix the dangling pointer use in erofs_lookup tracepoint;
- fix unsupported chunk format check;
- zero out compacted_2b if compacted_4b_initial > totalidx.

----------------------------------------------------------------
Gao Xiang (2):
erofs: fix up erofs_lookup tracepoint
erofs: fix misbehavior of unsupported chunk format check

Yue Hu (1):
erofs: clear compacted_2b if compacted_4b_initial > totalidx

fs/erofs/inode.c | 2 +-
fs/erofs/zmap.c | 3 ++-
include/trace/events/erofs.h | 6 +++---
3 files changed, 6 insertions(+), 5 deletions(-)