dm: remove incomplete BLOCK_PC support
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Jan 2017 09:03:39 +0000 (10:03 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commit4bf58435fae39ec2ea01a2ff9934d377add234b1
tree672fdd150ac494b4ded8de4de05f70422ad203fe
parent48b77ad6084481ef9330a5d2bee289966da0975b
dm: remove incomplete BLOCK_PC support

DM tries to copy a few fields around for BLOCK_PC requests, but given
that no dm-target ever wires up scsi_cmd_ioctl BLOCK_PC can't actually
be sent to dm.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm-rq.c