iov_iter: Kill ITER_PIPE
authorDavid Howells <dhowells@redhat.com>
Tue, 7 Feb 2023 10:49:45 +0000 (10:49 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 14 Feb 2023 17:09:41 +0000 (17:09 +0000)
commit45b94876f54e197ba890c8df92ed720e9082246c
tree0547fb386b6a217bab92d7962cce4d6d3e72f895
parent8dfb4a09b1bc544e49c0084527f8954a1cb78148
iov_iter: Kill ITER_PIPE

The ITER_PIPE-type iterator was only used for generic_file_splice_read(),
but that has now been switched to either pull pages directly from the
pagecache for buffered file splice-reads or to use ITER_BVEC instead for
O_DIRECT file splice-reads.  This leaves ITER_PIPE unused - so remove it.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
cc: Jens Axboe <axboe@kernel.dk>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: David Hildenbrand <david@redhat.com>
cc: John Hubbard <jhubbard@nvidia.com>
cc: linux-mm@kvack.org
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
fs/cifs/file.c
include/linux/uio.h
lib/iov_iter.c
mm/filemap.c