diff options
author | 2023-05-22 14:49:59 +0100 | |
---|---|---|
committer | 2023-05-24 08:42:16 -0600 | |
commit | b0072734ffaa3f5fec64058d0d3333765d789bc0 (patch) | |
tree | 96668a6eb466302512b25ef8155986c522c85a16 /scripts/generate_rust_analyzer.py | |
parent | coda: Implement splice-read (diff) | |
download | wireguard-linux-b0072734ffaa3f5fec64058d0d3333765d789bc0.tar.xz wireguard-linux-b0072734ffaa3f5fec64058d0d3333765d789bc0.zip |
tty, proc, kernfs, random: Use copy_splice_read()
Use copy_splice_read() for tty, procfs, kernfs and random files rather
than going through generic_file_splice_read() as they just copy the file
into the output buffer and don't splice pages. This avoids the need for
them to have a ->read_folio() to satisfy filemap_splice_read().
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cc: Christoph Hellwig <hch@lst.de>
cc: Jens Axboe <axboe@kernel.dk>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: John Hubbard <jhubbard@nvidia.com>
cc: David Hildenbrand <david@redhat.com>
cc: Matthew Wilcox <willy@infradead.org>
cc: Miklos Szeredi <miklos@szeredi.hu>
cc: Arnd Bergmann <arnd@arndb.de>
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Link: https://lore.kernel.org/r/20230522135018.2742245-13-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions