Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/mmc/card/queue.c
··· 31 31 /* 32 32 * We only like normal block requests. 33 33 */ 34 - if (!blk_fs_request(req) && !blk_pc_request(req)) { 34 + if (!blk_fs_request(req)) { 35 35 blk_dump_rq_flags(req, "MMC bad request"); 36 36 return BLKPREP_KILL; 37 37 }