Commit d6d8de33 authored by Pierre Ossman's avatar Pierre Ossman

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: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 91028954
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment