block: simplify bio_map_kern
authorChristoph Hellwig <hch@lst.de>
Wed, 7 May 2025 12:04:31 +0000 (14:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 May 2025 13:31:07 +0000 (07:31 -0600)
commit6ff54f456671415e101e671a7dfa1fe13a31bdb5
tree07b34349e33dba6b76f8449094907f45cf682a39
parentfddbc51dc290f834f520ce89c00a0fce38260c16
block: simplify bio_map_kern

Rewrite bio_map_kern using the new bio_add_* helpers and drop the
kerneldoc comment that is superfluous for an internal helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250507120451.4000627-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c