]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: don't allow multiple bio_iov_iter_get_pages calls per bio
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Apr 2019 06:23:29 +0000 (08:23 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Apr 2019 15:06:39 +0000 (09:06 -0600)
commit14eacf12dbc75352fa746dfd9e24de3170ba5ff5
tree9a567a65a6a3582ec92a93955f6e7a713448e038
parenta10584c3cda9cbb1a1ccd072783bfd625f99e40d
block: don't allow multiple bio_iov_iter_get_pages calls per bio

No caller uses bio_iov_iter_get_pages multiple times on a given bio,
and that funtionality isn't all that useful.  Removing it will make
some future changes a little easier and also simplifies the function
a bit.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c