diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-08-16 18:43:48 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-10-12 09:04:32 (GMT) |
commit | d6d8de33415ca7598fe66d933b6556fa8f89afe2 (patch) | |
tree | eaa86df35326f648a34a0c766b13636adc364c59 /drivers/mmc/card | |
parent | 91028954119e464ae42350658d46c204d781b484 (diff) | |
download | linux-fsl-qoriq-d6d8de33415ca7598fe66d933b6556fa8f89afe2.tar.xz |
mmc_block: filter out PC requests
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>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r-- | drivers/mmc/card/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index c25c975..406989e 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c @@ -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; } |