diff --git a/block/blk-lib.c b/block/blk-lib.c index 7b256131b20bbb221e6500ba655b1dd2e05ddc2c..9f09beadcbe30a47588773027d785555101ffd7e 100644 --- a/block/blk-lib.c +++ b/block/blk-lib.c @@ -21,6 +21,7 @@ struct bio *blk_next_bio(struct bio *bio, unsigned int nr_pages, gfp_t gfp) return new; } +EXPORT_SYMBOL_GPL(blk_next_bio); int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, sector_t nr_sects, gfp_t gfp_mask, int flags, diff --git a/include/linux/bio.h b/include/linux/bio.h index a0b4cfdf62a434f0ba287f32f6fd39e9c321a181..b2491ead22a06f9f2d42c821160c4535c17d13e3 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -822,4 +822,6 @@ static inline void bio_set_polled(struct bio *bio, struct kiocb *kiocb) bio->bi_opf |= REQ_NOWAIT; } +struct bio *blk_next_bio(struct bio *bio, unsigned int nr_pages, gfp_t gfp); + #endif /* __LINUX_BIO_H */