diff options
Diffstat (limited to 'drivers/md')
-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 b98cd9d84435..f251633a51af 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -1719,6 +1719,7 @@ static int setup_clone(struct request *clone, struct request *rq, | |||
1719 | { | 1719 | { |
1720 | int r; | 1720 | int r; |
1721 | 1721 | ||
1722 | blk_rq_init(NULL, rq); | ||
1722 | r = blk_rq_prep_clone(clone, rq, tio->md->bs, GFP_ATOMIC, | 1723 | r = blk_rq_prep_clone(clone, rq, tio->md->bs, GFP_ATOMIC, |
1723 | dm_rq_bio_constructor, tio); | 1724 | dm_rq_bio_constructor, tio); |
1724 | if (r) | 1725 | if (r) |