diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-24 14:39:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-30 15:34:19 -0600 |
commit | da6269da4cfe29f484e8fd27c1496b81b47e2499 (patch) | |
tree | 85adbc95654baa1376592134950ecb466fed8769 /drivers/cdrom | |
parent | 5ec780a6eddacbbbc1c5d5838753c3ca43f93526 (diff) | |
download | linux-rpi-da6269da4cfe29f484e8fd27c1496b81b47e2499.tar.gz linux-rpi-da6269da4cfe29f484e8fd27c1496b81b47e2499.tar.bz2 linux-rpi-da6269da4cfe29f484e8fd27c1496b81b47e2499.zip |
block: remove REQ_OP_SCSI_{IN,OUT}
With the legacy IDE driver gone drivers now use either REQ_OP_DRV_*
or REQ_OP_SCSI_*, so unify the two concepts of passthrough requests
into a single one.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cdrom')
-rw-r--r-- | drivers/cdrom/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 90ad34c6ef8e..feb827eefd1a 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -2186,7 +2186,7 @@ static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf, len = nr * CD_FRAMESIZE_RAW; - rq = blk_get_request(q, REQ_OP_SCSI_IN, 0); + rq = blk_get_request(q, REQ_OP_DRV_IN, 0); if (IS_ERR(rq)) { ret = PTR_ERR(rq); break; |