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
Acked-by: Jack Wang
Reviewed-by: Damien Le Moal
Reviewed-by: Johannes Thumshirn
---
drivers/block/rnbd/rnbd-srv.c | 7 +--
1 file changed, 1 insertion(+), 6 del
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
Acked-by: Jack Wang
Reviewed-by: Damien Le Moal
Reviewed-by: Johannes Thumshirn
---
drivers/block/rnbd/rnbd-srv.c | 7 +--
1 file changed, 1 insertion(+), 6 del