diff --git a/drivers/md/dm.c b/drivers/md/dm.c index b89c548ec3f88612eb4a6fec4d6230ad413ed9c1..e24143cc2040b7f3f8f90a63c3b1b2cfe2b21c24 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1016,6 +1016,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone, /* * Store bio_set for cleanup. */ + clone->bi_end_io = NULL; clone->bi_private = md->bs; bio_put(clone); free_tio(md, tio);