diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 16:50:00 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-24 17:42:16 +0300 |
commit | 67178fd066d53d5a6cada1cdc6399d02b68b708e (patch) | |
tree | dc9b215e3ff2acaeeb02eef20726b4b0a80a4b14 /fs/afs/file.c | |
parent | b0072734ffaa3f5fec64058d0d3333765d789bc0 (diff) | |
download | linux-67178fd066d53d5a6cada1cdc6399d02b68b708e.tar.xz |
net: Make sock_splice_read() use copy_splice_read() by default
Make sock_splice_read() use copy_splice_read() by default as
file_splice_read() will return immediately with 0 as a socket has no
pagecache and is a zero-size file.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: Christoph Hellwig <hch@lst.de>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: Jens Axboe <axboe@kernel.dk>
cc: netdev@vger.kernel.org
cc: linux-block@vger.kernel.org
cc: linux-mm@kvack.org
Link: https://lore.kernel.org/r/20230522135018.2742245-14-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/afs/file.c')
0 files changed, 0 insertions, 0 deletions