]> www.infradead.org Git - nvme.git/commit
ublk: add helper of ublk_need_map_io()
authorMing Lei <ming.lei@redhat.com>
Thu, 27 Mar 2025 09:51:13 +0000 (17:51 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:24 +0000 (08:48 -0700)
commit139c3d972ebafdfb27d05ab33cfc3583fb98a7b2
tree10902687d299c92b69bd2ccca66674a51556981f
parent10caa88afeff66ea5fc81a2c9da89f0836019348
ublk: add helper of ublk_need_map_io()

ublk_need_map_io() is more readable.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250327095123.179113-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c