block: remove wrappers for request type/flags
[linux-2.6.git] / drivers / cdrom / gdrom.c
index 03c71f7..7c05ddc 100644 (file)
@@ -643,7 +643,7 @@ static void gdrom_request(struct request_queue *rq)
        struct request *req;
 
        while ((req = blk_fetch_request(rq)) != NULL) {
-               if (!blk_fs_request(req)) {
+               if (req->cmd_type != REQ_TYPE_FS) {
                        printk(KERN_DEBUG "GDROM: Non-fs request ignored\n");
                        __blk_end_request_all(req, -EIO);
                        continue;