summaryrefslogtreecommitdiff
path: root/fs/zonefs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-26 15:52:31 +0100
committerJens Axboe <axboe@kernel.dk>2021-01-27 09:51:48 -0700
commitf91ca2a370bec58eb3d54315b5cfa3a2a9288acc (patch)
tree706788e0ecbcf07b978b43596857359694505114 /fs/zonefs
parent7684fbde45169e6de15c180b1c084d2005e99961 (diff)
downloadlinux-rpi-f91ca2a370bec58eb3d54315b5cfa3a2a9288acc.tar.gz
linux-rpi-f91ca2a370bec58eb3d54315b5cfa3a2a9288acc.tar.bz2
linux-rpi-f91ca2a370bec58eb3d54315b5cfa3a2a9288acc.zip
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>
Diffstat (limited to 'fs/zonefs')
-rw-r--r--fs/zonefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
index bec47f2d074b..faea2ed34b4a 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -678,7 +678,7 @@ static ssize_t zonefs_file_dio_append(struct kiocb *iocb, struct iov_iter *from)
if (!nr_pages)
return 0;
- bio = bio_alloc_bioset(GFP_NOFS, nr_pages, &fs_bio_set);
+ bio = bio_alloc(GFP_NOFS, nr_pages);
if (!bio)
return -ENOMEM;