mmc_block: filter out PC requests
authorPierre Ossman <drzeus@drzeus.cx>
Sat, 16 Aug 2008 18:43:48 +0000 (20:43 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:32 +0000 (11:04 +0200)
We do not support PC (SCSI) commands, so don't pretend we do by
letting them through.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/card/queue.c

index c25c975bdc3b518c2c0be415ebd22b77abbb0064..406989e992bad75fe1f17e103f8aab87e9cccc11 100644 (file)
@@ -31,7 +31,7 @@ static int mmc_prep_request(struct request_queue *q, struct request *req)
        /*
         * We only like normal block requests.
         */
-       if (!blk_fs_request(req) && !blk_pc_request(req)) {
+       if (!blk_fs_request(req)) {
                blk_dump_rq_flags(req, "MMC bad request");
                return BLKPREP_KILL;
        }