[PATCH stable 0/5] Fix missing patches in stable
From: Saeed Mirzamohammadi
Date: Mon Oct 17 2022 - 15:20:38 EST
The following patches has been applied to 6.0 but only patch#2 below
has been applied to stable. This caused regression with nfs tests in
all stable releases.
This patchset backports patches 1 and 3-6 to stable.
1. 868941b14441 fs: remove no_llseek
2. 97ef77c52b78 fs: check FMODE_LSEEK to control internal pipe splicing
3. 54ef7a47f67d vfio: do not set FMODE_LSEEK flag
4. c9eb2d427c1c dma-buf: remove useless FMODE_LSEEK flag
5. 4e3299eaddff fs: do not compare against ->llseek
6. e7478158e137 fs: clear or set FMODE_LSEEK based on llseek function
For 5.10.y and 5.4.y only, a revert of patch#2 is already included.
Please apply patch#2, for 5.4.y and 5.10.y as well.
Thanks,
Saeed
Jason A. Donenfeld (5):
fs: clear or set FMODE_LSEEK based on llseek function
fs: do not compare against ->llseek
dma-buf: remove useless FMODE_LSEEK flag
vfio: do not set FMODE_LSEEK flag
fs: remove no_llseek
Documentation/filesystems/porting.rst | 8 ++++++++
drivers/dma-buf/dma-buf.c | 1 -
drivers/gpu/drm/drm_file.c | 3 +--
drivers/vfio/vfio.c | 2 +-
fs/coredump.c | 4 ++--
fs/file_table.c | 2 ++
fs/open.c | 4 ++++
fs/overlayfs/copy_up.c | 3 +--
fs/read_write.c | 17 +++--------------
include/linux/fs.h | 2 +-
kernel/bpf/bpf_iter.c | 3 +--
11 files changed, 24 insertions(+), 25 deletions(-)
--
2.31.1