diff options
Diffstat (limited to 'drivers/cdrom/cm206.c')
-rw-r--r-- | drivers/cdrom/cm206.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cm206.c b/drivers/cdrom/cm206.c index 230131163240..2f8fe3b6bbd0 100644 --- a/drivers/cdrom/cm206.c +++ b/drivers/cdrom/cm206.c | |||
@@ -851,7 +851,7 @@ static void do_cm206_request(request_queue_t * q) | |||
851 | if (!req) | 851 | if (!req) |
852 | return; | 852 | return; |
853 | 853 | ||
854 | if (req->cmd != READ) { | 854 | if (rq_data_dir(req) != READ) { |
855 | debug(("Non-read command %d on cdrom\n", req->cmd)); | 855 | debug(("Non-read command %d on cdrom\n", req->cmd)); |
856 | end_request(req, 0); | 856 | end_request(req, 0); |
857 | continue; | 857 | continue; |