diff options
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r-- | block/as-iosched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c index 9735acb5b4f5..cf4eb0eefbbf 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c | |||
@@ -837,8 +837,7 @@ static void as_completed_request(struct request_queue *q, struct request *rq) | |||
837 | WARN_ON(!list_empty(&rq->queuelist)); | 837 | WARN_ON(!list_empty(&rq->queuelist)); |
838 | 838 | ||
839 | if (RQ_STATE(rq) != AS_RQ_REMOVED) { | 839 | if (RQ_STATE(rq) != AS_RQ_REMOVED) { |
840 | printk("rq->state %d\n", RQ_STATE(rq)); | 840 | WARN(1, "rq->state %d\n", RQ_STATE(rq)); |
841 | WARN_ON(1); | ||
842 | goto out; | 841 | goto out; |
843 | } | 842 | } |
844 | 843 | ||