[PATCH 0/2] Revert boot-breaking changes in fs/

Konrad Dybcio posted 2 patches 2 years, 6 months ago
fs/cifs/file.c      |   8 +-
fs/splice.c         | 159 +++----------------
include/linux/uio.h |  14 ++
lib/iov_iter.c      | 435 +++++++++++++++++++++++++++++++++++++++++++++++++++-
mm/filemap.c        |   3 +-
5 files changed, 479 insertions(+), 140 deletions(-)
[PATCH 0/2] Revert boot-breaking changes in fs/
Posted by Konrad Dybcio 2 years, 6 months ago
next-20230213 introduced commit d9722a475711 ("splice: Do splice read from
a buffered file without using ITER_PIPE") which broke booting on any
Qualcomm ARM64 device I grabbed, dereferencing a null pointer in
generic_filesplice_read+0xf8/x598. Revert it (and its dependency)
(or accept better solutions should anybody come up with such) to make
them bootable again.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (2):
      Revert "iov_iter: Kill ITER_PIPE"
      Revert "splice: Do splice read from a buffered file without using ITER_PIPE"

 fs/cifs/file.c      |   8 +-
 fs/splice.c         | 159 +++----------------
 include/linux/uio.h |  14 ++
 lib/iov_iter.c      | 435 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 mm/filemap.c        |   3 +-
 5 files changed, 479 insertions(+), 140 deletions(-)
---
base-commit: 3ebb0ac55efaf1d0fb1b106f852c114e5021f7eb
change-id: 20230215-topic-next-20230214-revert-cce3cff17c45

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>