projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/mmc/card/queue.c
b/drivers/mmc/card/queue.c
index c25c975bdc3b518c2c0be415ebd22b77abbb0064..406989e992bad75fe1f17e103f8aab87e9cccc11 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;
}