nfs: use bvec_set_page to initialize bvecs
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:26 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 17:17:42 +0000 (10:17 -0700)
commit8bb7cd842c44b299586bfed6aadde8863c48b415
tree296932c9bc1a8cfd347e1edeedfed03cbb5e113d
parentcd598003206839ed1354902805b52c3a4f6ead2e
nfs: use bvec_set_page to initialize bvecs

Use the bvec_set_page helper to initialize bvecs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Link: https://lore.kernel.org/r/20230203150634.3199647-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/nfs/fscache.c