rbd: use bvec_set_page to initialize the copy up bvec
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:19 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:55 +0000 (08:20 -0700)
commit7df2af0bb4912cf360045d065f88fe4ed2f702ca
tree14adb5ca625596e2aaa47c917cafb6f5501f49cb
parent4bee16daf13225d6b109bb95d613fd691b04a757
rbd: use bvec_set_page to initialize the copy up bvec

Use the bvec_set_page helper to initialize the copy up bvec.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Link: https://lore.kernel.org/r/20230203150634.3199647-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rbd.c