memstick: don't allow REQ_TYPE_BLOCK_PC requests
[cascardo/linux.git] / drivers / memstick / core / ms_block.c
index 0fc43c7..40bb8ae 100644 (file)
@@ -2002,8 +2002,7 @@ static int msb_bd_getgeo(struct block_device *bdev,
 
 static int msb_prepare_req(struct request_queue *q, struct request *req)
 {
-       if (req->cmd_type != REQ_TYPE_FS &&
-                               req->cmd_type != REQ_TYPE_BLOCK_PC) {
+       if (req->cmd_type != REQ_TYPE_FS) {
                blk_dump_rq_flags(req, "MS unsupported request");
                return BLKPREP_KILL;
        }