]> 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>
Fri, 21 Mar 2025 13:17:41 +0000 (14:17 +0100)
commit649d8f32b92a3a0064c0b1ee2cd1ad75bca9cddc
tree0b843a457c1b04b58703dfa8091c2983c808a25c
parent422ff360b0e122b21d6f99a07edcf116f3866d4f
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>
drivers/block/rnbd/rnbd-srv.c