]> www.infradead.org Git - users/hch/block.git/commit
bvec: add a bvec_virt helper
authorChristoph Hellwig <hch@lst.de>
Fri, 21 May 2021 06:35:03 +0000 (08:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 6 Jun 2021 06:21:18 +0000 (08:21 +0200)
commit8b61c4a845a2af15fcb27e9b8ef6c69ee1036359
treec722c45c2d6c08558a3245686b91a9c4617346b2
parent7649ba42614a3f7e37706c9d5f0a779bc8612ec7
bvec: add a bvec_virt helper

Add a helper to get the virtual address for a bvec.  This avoids that
all callers need to know about the page + offset representation.

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