Re: [PATCH] fs/pipe: allow sendfile() to pipe again

From: Linus Torvalds
Date: Mon Jan 25 2021 - 15:35:57 EST


On Mon, Jan 25, 2021 at 1:16 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>
> Mostly for the record, since it looks like we'll have a proper
> fix without another intermediate pipe. However, this fixes the
> regression for now.

I've applied this anyway.

We'll see how big Al's proper fix ends up being, and depending on that
this one-liner might just be the right thing for stable anyway.

And if Al's patch ends up being small, simple and clean, this
one-liner won't matter, but it's not like there's any real downside to
it.

Linus