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>
        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;