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

2021-01-26 Thread Johannes Berg
After commit 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") sendfile() could no longer send data from a real file to a pipe, breaking for example certain cgit setups (e.g. when running behind fcgiwrap), because in this case cgit will try to do exactly this: sendfile() to a

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

2021-01-26 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

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

2021-01-25 Thread Linus Torvalds
On Mon, Jan 25, 2021 at 1:16 AM Johannes Berg 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