Re: [PATCH v6 02/13] dm: Use bioset's front_pad fordm_rq_clone_bio_info

From: Tejun Heo
Date: Wed Aug 22 2012 - 14:32:54 EST


On Wed, Aug 22, 2012 at 10:03:59AM -0700, Kent Overstreet wrote:
> Previously, dm_rq_clone_bio_info needed to be freed by the bio's
> destructor to avoid a memory leak in the blk_rq_prep_clone() error path.
> This gets rid of a memory allocation and means we can kill
> dm_rq_bio_destructor.
>
> v6: Fix comment on struct dm_rq_clone_bio_info, per Tejun
>
> Signed-off-by: Kent Overstreet <koverstreet@xxxxxxxxxx>
> CC: Alasdair Kergon <agk@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

It would be nice if dm people can review these patches tho.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/