diff options
Diffstat (limited to 'block/blk-exec.c')
-rw-r--r-- | block/blk-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-exec.c b/block/blk-exec.c index 8b6dc5bd4dd0..4aec98df7ba5 100644 --- a/block/blk-exec.c +++ b/block/blk-exec.c | |||
@@ -60,7 +60,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk, | |||
60 | 60 | ||
61 | spin_lock_irq(q->queue_lock); | 61 | spin_lock_irq(q->queue_lock); |
62 | 62 | ||
63 | if (unlikely(blk_queue_dead(q))) { | 63 | if (unlikely(blk_queue_dying(q))) { |
64 | rq->errors = -ENXIO; | 64 | rq->errors = -ENXIO; |
65 | if (rq->end_io) | 65 | if (rq->end_io) |
66 | rq->end_io(rq, rq->errors); | 66 | rq->end_io(rq, rq->errors); |