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

From: Matthew Wilcox
Date: Wed Jul 01 2020 - 20:32:48 EST


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.