[GIT PULL] erofs fixes for 5.16-rc1

From: Gao Xiang
Date: Fri Nov 12 2021 - 10:13:17 EST


Hi Linus,

Could you please consider these 2 small erofs patches?

One patch fixes an old corner case which can hardly reproduce
but cause unsafe pagevec reuse. It needs to be fixed right now.

Another patch is a trivial cleanup which gets rid of the unused
DELAYEDALLOC strategy which has already been replaced by TRYALLOC.

All commits have been in linux-next for a while and no merge
conflicts. I think no need to hold on these until 5.16-rc1 is
out and I could plan for 5.17 cleanup/development stuffs then...

Many thanks!
Gao Xiang

The following changes since commit 8bb7eca972ad531c9b149c0a51ab43a417385813:

Linux 5.15 (2021-10-31 13:53:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4c7e42552b3a1536f3cdf534aba8c4262ee26716:

erofs: remove useless cache strategy of DELAYEDALLOC (2021-11-08 10:02:34 +0800)

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

- fix unsafe pagevec reuse which could cause unexpected behaviors;

- get rid of the unused DELAYEDALLOC strategy.

----------------------------------------------------------------
Gao Xiang (1):
erofs: fix unsafe pagevec reuse of hooked pclusters

Yue Hu (1):
erofs: remove useless cache strategy of DELAYEDALLOC

fs/erofs/zdata.c | 33 +++++++--------------------------
fs/erofs/zdata.h | 1 -
fs/erofs/zpvec.h | 13 ++++++++++---
3 files changed, 17 insertions(+), 30 deletions(-)