Commit 96082c9b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] AS: request poisining fix

From: Nick Piggin <piggin@cyberone.com.au>
parent 9087295f
...@@ -1728,7 +1728,7 @@ static void as_put_request(request_queue_t *q, struct request *rq) ...@@ -1728,7 +1728,7 @@ static void as_put_request(request_queue_t *q, struct request *rq)
return; return;
} }
if (arq->state != AS_RQ_POSTSCHED) { if (arq->state != AS_RQ_POSTSCHED && arq->state != AS_RQ_PRESCHED) {
printk("arq->state %d\n", arq->state); printk("arq->state %d\n", arq->state);
WARN_ON(1); WARN_ON(1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment