diff options
-rw-r--r-- | drivers/md/dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
1016 | /* | 1016 | /* |
1017 | * Store bio_set for cleanup. | 1017 | * Store bio_set for cleanup. |
1018 | */ | 1018 | */ |
1019 | clone->bi_end_io = NULL; | ||
1019 | clone->bi_private = md->bs; | 1020 | clone->bi_private = md->bs; |
1020 | bio_put(clone); | 1021 | bio_put(clone); |
1021 | free_tio(md, tio); | 1022 | free_tio(md, tio); |