block: don't assign cmd_flags in __blk_rq_prep_clone
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Jan 2017 13:31:09 +0000 (14:31 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commitfb045ca25cc7b6d46368ab8221774489c2a81648
tree242f882c5a3e0672d53bf1da349eb76e8141760c
parent82ed4db499b8598f16f8871261bff088d6b0597f
block: don't assign cmd_flags in __blk_rq_prep_clone

These days we have the proper flags set since request allocation time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c