Re: [PATCH] lib/iov_iter: initialize "flags" in new pipe_buffer

From: Al Viro
Date: Mon Feb 21 2022 - 10:18:46 EST


On Mon, Feb 21, 2022 at 11:03:13AM +0100, Max Kellermann wrote:
> The functions copy_page_to_iter_pipe() and push_pipe() can both
> allocate a new pipe_buffer, but the "flags" member initializer is
> missing.
>
> Fixes: 241699cd72a8 ("new iov_iter flavour: pipe-backed")
> To: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
> To: linux-fsdevel@xxxxxxxxxxxxxxx
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Max Kellermann <max.kellermann@xxxxxxxxx>

Applied, will push to Linus...