diff --git a/drivers/block/loop.c b/drivers/block/loop.c index fa1b7a90ba11deecda3ba5853b545fc2fc0dc579..4af81876679766d8e3609daf43302d8967b68d00 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1646,7 +1646,7 @@ static int loop_queue_rq(struct blk_mq_hw_ctx *hctx, blk_mq_start_request(bd->rq); if (lo->lo_state != Lo_bound) - return -EIO; + return BLK_MQ_RQ_QUEUE_ERROR; switch (req_op(cmd->rq)) { case REQ_OP_FLUSH: