提交 d6d8de33 编写于 作者: P 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: NPierre Ossman <drzeus@drzeus.cx>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册