aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memstick')
-rw-r--r--drivers/memstick/core/mspro_block.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/memstick/core/mspro_block.c b/drivers/memstick/core/mspro_block.c
index 8327e248520a..56645408d225 100644
--- a/drivers/memstick/core/mspro_block.c
+++ b/drivers/memstick/core/mspro_block.c
@@ -805,7 +805,8 @@ static void mspro_block_start(struct memstick_dev *card)
805 805
806static int mspro_block_prepare_req(struct request_queue *q, struct request *req) 806static int mspro_block_prepare_req(struct request_queue *q, struct request *req)
807{ 807{
808 if (!blk_fs_request(req) && !blk_pc_request(req)) { 808 if (req->cmd_type != REQ_TYPE_FS &&
809 req->cmd_type != REQ_TYPE_BLOCK_PC) {
809 blk_dump_rq_flags(req, "MSPro unsupported request"); 810 blk_dump_rq_flags(req, "MSPro unsupported request");
810 return BLKPREP_KILL; 811 return BLKPREP_KILL;
811 } 812 }