block: Fix secure erase
[linux-2.6-block.git] / drivers / mmc / card / block.c
index 48a5dd740f3ba38b854ac8bfbbdfa93de4820f6a..82503e6f04b317fdfda01c9a0ee50c4249a44be1 100644 (file)
@@ -1726,6 +1726,7 @@ static u8 mmc_blk_prep_packed_list(struct mmc_queue *mq, struct request *req)
                        break;
 
                if (req_op(next) == REQ_OP_DISCARD ||
+                   req_op(next) == REQ_OP_SECURE_ERASE ||
                    req_op(next) == REQ_OP_FLUSH)
                        break;