[0/3] squashfs: fix some regressions introduced in the readahead code
From: Phillip Lougher
Date: Thu Oct 20 2022 - 18:36:36 EST
Hi,
This patch-set fixes 3 regressions introduced by the recent readahead code.
The first regression is causing "snaps" to randomly fail after a couple of
hours or days, which how the regression came to light.
----------------------------------------------------------------
Phillip Lougher (3):
squashfs: fix read regression introduced in readahead code
squashfs: fix extending readahead beyond end of file
squashfs: fix buffer release race condition in readahead code
fs/squashfs/file.c | 23 ++++++++++++++---------
fs/squashfs/page_actor.c | 3 +++
fs/squashfs/page_actor.h | 6 +++++-
3 files changed, 22 insertions(+), 10 deletions(-)