]> git.baikalelectronics.ru Git - kernel.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)
commite358d0c883b7cc0eda412adfd3d45d28de4ea147
tree9a567a65a6a3582ec92a93955f6e7a713448e038
parent546ec7224c52c7008aec32d13651a18ecbb73bf4
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