diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-08-16 22:43:48 +0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-10-12 13:04:32 +0400 |
commit | d6d8de33415ca7598fe66d933b6556fa8f89afe2 (patch) | |
tree | eaa86df35326f648a34a0c766b13636adc364c59 /drivers/mmc | |
parent | 91028954119e464ae42350658d46c204d781b484 (diff) | |
download | linux-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')
-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 c25c975bdc3b..406989e992ba 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; } |