Re: [PATCH 19/23] sysctl: Call sysctl_head_finish on error

From: Christoph Hellwig
Date: Thu Jul 02 2020 - 01:15:19 EST


On Thu, Jul 02, 2020 at 01:32:40AM +0100, Matthew Wilcox wrote:
> On Wed, Jul 01, 2020 at 10:09:47PM +0200, Christoph Hellwig wrote:
> > From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
> >
> > This error path returned directly instead of calling sysctl_head_finish().
> >
> > Fixes: ef9d965bc8b6 ("sysctl: reject gigantic reads/write to sysctl files")
> > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
>
> I think this one needs to go to Linus before 5.8, not get stuck in the
> middle of a large patch series.

I've only kept it here because it didn't show up in Linus tree yet.
If you send it and it gets picked up I can trivially drop it.