Re: [PATCH] fs: remove ->sendpage

2020-10-06 Thread Christoph Hellwig
On Mon, Sep 28, 2020 at 03:17:34PM -0700, David Miller wrote: > From: Christoph Hellwig > Date: Sat, 26 Sep 2020 09:00:49 +0200 > > > ->sendpage is only called from generic_splice_sendpage. The only user of > > generic_splice_sendpage is socket_file_ops, which is also the only > > instance that

Re: [PATCH] fs: remove ->sendpage

2020-09-28 Thread David Miller
From: Christoph Hellwig Date: Sat, 26 Sep 2020 09:00:49 +0200 > ->sendpage is only called from generic_splice_sendpage. The only user of > generic_splice_sendpage is socket_file_ops, which is also the only > instance that actually implements ->sendpage. Remove the ->sendpage file > operation an

[PATCH] fs: remove ->sendpage

2020-09-26 Thread Christoph Hellwig
->sendpage is only called from generic_splice_sendpage. The only user of generic_splice_sendpage is socket_file_ops, which is also the only instance that actually implements ->sendpage. Remove the ->sendpage file operation and just open code the logic in the socket code. Signed-off-by: Christoph