From: Pierre Ossman Date: Sat, 16 Aug 2008 18:43:48 +0000 (+0200) Subject: mmc_block: filter out PC requests X-Git-Tag: v2.6.28-rc1~701^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d6d8de33415ca7598fe66d933b6556fa8f89afe2;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index c25c975bdc3..406989e992b 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; }