Correct the comment that the source bio must not be freed before the clone. Signed-off-by: John Garry diff --git a/block/bio.c b/block/bio.c index 8203bb7455a9f..9d9191fe19b50 100644 --- a/block/bio.c +++ b/block/bio.c @@ -900,7 +900,7 @@ static int __bio_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp) * Allocate a new bio that is a clone of @bio_src. The caller owns the returned * bio, but not the actual data it points to. * - * The caller must ensure that the return bio is not freed before @bio_src. + * The caller must ensure that @bio_src is not freed before the returned bio. */ struct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs) -- 2.43.5