]> git.baikalelectronics.ru Git - kernel.git/commit
block: factor out blk_rq_map_bio_alloc helper
authorKanchan Joshi <joshi.k@samsung.com>
Fri, 30 Sep 2022 06:27:46 +0000 (11:57 +0530)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:51:13 +0000 (07:51 -0600)
commit4fbac5e43b0765d546df67125a9f12146f37d1e0
tree57fb231e3744a1de3d39956eed0ff269af3aff0a
parent9be6de63d7c6076c38f2492ca659949aeead5710
block: factor out blk_rq_map_bio_alloc helper

Move bio allocation logic from bio_map_user_iov to a new helper
blk_rq_map_bio_alloc. It is named so because functionality is opposite
of what is done inside blk_mq_map_bio_put. This is a prep patch.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20220930062749.152261-10-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c