]> www.infradead.org Git - users/hch/misc.git/commit
rnbd-srv: use bio_add_virt_nofail
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Mar 2025 12:47:25 +0000 (13:47 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:19 +0000 (14:03 -0500)
commit86f16996c1075bd4ceded6e9a4a12b780f4b2e8d
tree9a8ac809206c477fb46d862e1f97134327ad25fb
parent342e3290b796c4b299ed8788ab0c33ec6c2759d2
rnbd-srv: use bio_add_virt_nofail

Use the bio_add_virt_nofail to add a single kernel virtual address
to a bio as that can't fail.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
drivers/block/rnbd/rnbd-srv.c