OSDN Git Service

block: add a bvec_set_virt helper
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:14 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:55 +0000 (08:20 -0700)
commit666e6550cb74e3a7206b5699409c9f31e123887e
tree3a34ed77e6668f452b152b21cebdc6c1c6e487ab
parent26db5ee158510108c819aa7be6eb8c75accf85d7
block: add a bvec_set_virt helper

A small wrapper around bvec_set_page for callers that have a virtual
address.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230203150634.3199647-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bvec.h