Skip to contentSkip to conversation

erofs fixes for 6.0-rc5

GIT PULL Merged Gao Xiang 2 participants 2 messages Sep 6, 2022

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

Hi Linus,

Could you consider these three fixes for 6.0-rc5?

One patch fixes error paths in fscache backend. Another fixes a use-after-free on UP platforms whose path is now dropped directly. The rest addresses potential wrong pcluster sizes for later non-4K lclusters. It should have no effect on the existing fs images but the fix is small and straight-forward so that it'd be better to be fixed from now on.

All commits have been in linux-next and no merge conflicts.

Thanks,
Gao Xiang

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.0-rc5-fixes

for you to fetch changes up to 2f44013e39984c127c6efedf70e6b5f4e9dcf315:

erofs: fix pcluster use-after-free on UP platforms (2022-09-05 23:23:30 +0800)

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

- Fix return codes in erofs_fscache_{meta_,}read_folio error paths;

- Fix potential wrong pcluster sizes for later non-4K lclusters;

- Fix in-memory pcluster use-after-free on UP platforms.

----------------------------------------------------------------
Gao Xiang (1):
erofs: fix pcluster use-after-free on UP platforms

Sun Ke (1):
erofs: fix error return code in erofs_fscache_{meta_,}read_folio

Yue Hu (1):
erofs: avoid the potentially wrong m_plen for big pcluster

 fs/erofs/fscache.c  |  8 ++++++--
 fs/erofs/internal.h | 29 -----------------------------
 fs/erofs/zmap.c     | 16 ++++++++--------
 3 files changed, 14 insertions(+), 39 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 7 Sep 2022 00:16:19 +0800:

The pull request you sent on Wed, 7 Sep 2022 00:16:19 +0800:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.0-rc5-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d2ec799d1c1be847d6a70704fe586ac4d14265c8

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html