afs: use bvec_set_folio to initialize a bvec
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:22 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:55 +0000 (08:20 -0700)
commita8173be1863e57393edb5c158860ec43a1f21ed7
tree2ad4d446f390f28ec7ff20f7d3ae1bd45c237780
parent13ae4db0c05107814db4e774856aa83e72e8bf04
afs: use bvec_set_folio to initialize a bvec

Use the bvec_set_folio helper to initialize a bvec.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20230203150634.3199647-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/afs/write.c