On Fri, Aug 20, 2021 at 07:59:29PM +0000, Leah Rumancik wrote: > From: Murphy Zhou <jencce.kernel@xxxxxxxxx> > > Now overlayfs falls back to use default file splice read > and write, which is not compatiple with overlayfs, returning > EFAULT. xfstests generic/591 can reproduce part of this. > > Tested this patch with xfstests auto group tests. > > [ Needed in 5.4 to fix a deadlock triggered via > xfstests overlay/019 -- Leah Rumancik ] > > Signed-off-by: Murphy Zhou <jencce.kernel@xxxxxxxxx> > Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx> > --- > fs/overlayfs/file.c | 47 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > <formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. </formletter>