dm: fix multipath regression due to initializing wrong request
authorMike Snitzer <snitzer@redhat.com>
Mon, 9 Feb 2015 17:21:54 +0000 (12:21 -0500)
committerJens Axboe <axboe@fb.com>
Mon, 9 Feb 2015 17:46:08 +0000 (10:46 -0700)
commitdb507b3ffd9b7a1c87e732ac6e2c3a5d0babb15a
tree95f5f28682cfb18a4d60c65b1d5551aef4355e27
parent69abaffec7d47a083739b79e3066cb3730eba72e
dm: fix multipath regression due to initializing wrong request

Commit febf715 ("block: require blk_rq_prep_clone() be given an
initialized clone request") introduced a regression by calling
blk_rq_init() on the original request rather than the clone
request that is passed to setup_clone().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Fixes: febf71588c2a ("block: require blk_rq_prep_clone() be given an initialized clone request")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm.c