block: remove __blk_rq_map_user_iov
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2020 15:37:47 +0000 (17:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:25 +0000 (16:49 -0600)
commit7589ad6729d6a707c6ce97693106d42cbb121b42
tree35b36b71b5f1760c7f871c05abfcdecd3cd602ab
parent7b63c052a580d7d5ed83a6e2a327e85881fa679a
block: remove __blk_rq_map_user_iov

Just duplicate a small amount of code in the low-level map into the bio
and copy to the bio routines, leading to much easier to follow and
maintain code, and better shared error handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c