]> www.infradead.org Git - users/hch/misc.git/commit
block: add a bio_add_virt_nofail helper
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Mar 2025 12:43:38 +0000 (13:43 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Mar 2025 13:15:07 +0000 (14:15 +0100)
commit04c8e958517867ae95dcb225d2b5cb30fee439e8
treed978a8ec164936d8f40f8a814df41c10913c414d
parent3c9f0c9326b625bf008962d58996f89a3bba1e12
block: add a bio_add_virt_nofail helper

Add a helper to add a directly mapped kernel virtual address to a
bio so that callers don't have to convert to pages or folios.

For now only the _nofail variant is provided as that is what all the
obvious callers want.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/bio.h