/* Description: Free all bios in @rq for a cloned request.  */
void blk_rq_unprep_clone(struct request *rq)
/* Description: Free all bios in @rq for a cloned request.  */
void blk_rq_unprep_clone(struct request *rq)
{
	struct bio *bio;
	while ((bio = rq->bio) != NULL) {
		rq->bio = bio->bi_next;
		bio_put(bio);
	}
}