projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9102895
)
mmc_block: filter out PC requests
author
Pierre Ossman
<drzeus@drzeus.cx>
Sat, 16 Aug 2008 18:43:48 +0000
(20:43 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:32 +0000
(11:04 +0200)
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>
drivers/mmc/card/queue.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/card/queue.c
b/drivers/mmc/card/queue.c
index
c25c975
..
406989e
100644
(file)
--- 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;
}