zonefs: use bio_alloc in zonefs_file_dio_append
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:31 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commitf91ca2a370bec58eb3d54315b5cfa3a2a9288acc
tree706788e0ecbcf07b978b43596857359694505114
parent7684fbde45169e6de15c180b1c084d2005e99961
zonefs: use bio_alloc in zonefs_file_dio_append

Use bio_alloc instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/zonefs/super.c