Re: [PATCH] fs: remove ->sendpage
From: David Miller
Date: Mon Sep 28 2020 - 19:33:46 EST
From: Christoph Hellwig <hch@xxxxxx>
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 and just open code the logic in the socket code.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>