Re: [PATCH 6.0 044/124] vfs: fix copy_file_range() averts filesystem freeze protection

Greg Kroah-Hartman
2022-12-14T18:29:16Z

On Wed, Dec 14, 2022 at 07:21:47PM +0200, Amir Goldstein wrote:
> On Wed, Dec 14, 2022 at 5:58 PM Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Dec 13, 2022 at 10:03:02AM +0200, Amir Goldstein wrote:
> > > On Mon, Dec 5, 2022 at 9:24 PM Greg Kroah-Hartman
> > > <gregkh@linuxfoundation.org> wrote:
> > > >
> > > > From: Amir Goldstein <amir73il@gmail.com>
> > > >
> > > > [ Upstream commit 10bc8e4af65946b727728d7479c028742321b60a ]
> > > >
> > > > Commit 868f9f2f8e00 ("vfs: fix copy_file_range() regression in cross-fs
> > > > copies") removed fallback to generic_copy_file_range() for cross-fs
> > > > cases inside vfs_copy_file_range().
> > >
> > > Hi Greg,
> > >
> > > The regressing commit is in v5.15.53.
> > > Please apply this fix to 5.15.y.
> >
> > This commit does not apply to 5.15.y as-is (breaks the build),
>
> Sorry. compiled without lockdep.
>
> > can you provide a working backport?
> >
>
> Patch attached with lockdep assert removed.

thanks, that worked, now queued up.

greg k-h