block: factor out a bvec_alloc_gfp helper
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 17:19:21 +0000 (18:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Feb 2021 15:33:16 +0000 (08:33 -0700)
commitf2c3eb9bb0ef77517976f8be926a77a574da8fe3
treed744cb5ce402ece0de5080f20b45f79be1fc4671
parent6ac0b71537e1c14e7532408fe4aae553aa314237
block: factor out a bvec_alloc_gfp helper

Clean up bvec_alloc a little by factoring out a helper for the gfp_t
manipulations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c