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)
commitfebf71588c2a750e04dc2a8b0824ce120c48bd9e
tree2f1c48dda46cd66ec3d72b025753cd5c856e6a7c
parent24391c0dc57c3756a219defaa781e68637d6ab7d
block: require blk_rq_prep_clone() be given an initialized clone request

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