[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200624182051.GA26405@lst.de>
Date: Wed, 24 Jun 2020 20:20:51 +0200
From: Christoph Hellwig <hch@....de>
To: Matthew Wilcox <willy@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sysctl: Call sysctl_head_finish on error
On Wed, Jun 24, 2020 at 07:17:07PM +0100, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy@...radead.org>
>
> This error path returned directly instead of calling sysctl_head_finish().
Looks good. But if you touch this anyway we also need to add the extra
byte to count for the write case (see the memdup_user_nul implementation).
Powered by blists - more mailing lists