io_uring: use bvec_set_page to initialize a bvec
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:29 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 17:17:42 +0000 (10:17 -0700)
commitcc342a21930f0e3862c5fd0871cd5a65c5b59e27
treeb051a0770eab42f645852b42aca7cc43e82b8681
parent664e40789abaad892737a696102052dae199a029
io_uring: use bvec_set_page to initialize a bvec

Use the bvec_set_page helper to initialize a bvec.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230203150634.3199647-19-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c