Re: [PATCH v3] block: Fix uninitialized symbol 'bio' in blk_rq_prep_clone

From: Christoph Hellwig
Date: Tue Oct 08 2024 - 08:06:27 EST


> + struct bio *bio = bio_alloc_clone(rq->q->disk->part0, bio_src, gfp_mask,
> bs);

Overly long line here, plus now pretty weird positioning of the bs
argument.

Should be something like:

struct bio *bio = bio_alloc_clone(rq->q->disk->part0, bio_src,
gfp_mask, bs);