coredump: use bvec_set_page to initialize a bvec
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:06:25 +0000 (16:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 17:17:42 +0000 (10:17 -0700)
commitcd598003206839ed1354902805b52c3a4f6ead2e
treecbac6c5447ebb451192f320d3775bf32eafdc49f
parent220ae4a5c2ba10333b3b01fbf3dea0d759e77a76
coredump: 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>
Link: https://lore.kernel.org/r/20230203150634.3199647-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/coredump.c