ide cd: do not set REQ_WRITE on requests.
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:19 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit8e45c6f8808357704519c217dc633bc43afc2a61
tree4d9172e474c0478eafc3895cafeec433fce88cbc
parent1b9a9ab78b0ab79dc1f0ddd5fbed7833ec7de3a4
ide cd: do not set REQ_WRITE on requests.

The block layer will set the correct READ/WRITE operation flags/fields
when creating a request, so there is not need for drivers to set the
REQ_WRITE flag.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/ide/ide-cd_ioctl.c