swap: use bvec_set_page to initialize bvecs
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:30 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 17:17:42 +0000 (10:17 -0700)
commit8976fa6d79d70502181fa16b5e023645c0f44ec4
tree7713c30cd91cf3cea6739285098241044f6056cb
parentcc342a21930f0e3862c5fd0871cd5a65c5b59e27
swap: use bvec_set_page to initialize bvecs

Use the bvec_set_page helper to initialize bvecs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230203150634.3199647-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/page_io.c