block: require blk_rq_prep_clone() be given an initialized clone request
authorKeith Busch <keith.busch@intel.com>
Fri, 17 Oct 2014 23:46:35 +0000 (17:46 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 28 Jan 2015 16:44:11 +0000 (09:44 -0700)
Prepare to allow blk_rq_prep_clone() to accept clone requests that were
allocated from blk-mq request queues.  As such the blk_rq_prep_clone()
caller must first initialize the clone request.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
drivers/md/dm.c

Simple merge
diff --cc drivers/md/dm.c
Simple merge