X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fmd%2Fdm.c;h=e24143cc2040b7f3f8f90a63c3b1b2cfe2b21c24;hb=ef08e78268423fc4d7fbc3e54bd9a67fc8da7cc5;hp=b89c548ec3f88612eb4a6fec4d6230ad413ed9c1;hpb=d3712b9dfcf44ca145cf87e7f4096fa2d923471a;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/md/dm.c b/drivers/md/dm.c index b89c548ec3f8..e24143cc2040 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);