git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: fix deadlock with request based dm and queue request_fn recursion
[pandora-kernel.git]
/
block
/
blk-exec.c
diff --git
a/block/blk-exec.c
b/block/blk-exec.c
index
a1ebceb
..
6053285
100644
(file)
--- a/
block/blk-exec.c
+++ b/
block/blk-exec.c
@@
-50,7
+50,7
@@
void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
{
int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK;
- if (unlikely(
test_bit(QUEUE_FLAG_DEAD, &q->queue_flags
))) {
+ if (unlikely(
blk_queue_dead(q
))) {
rq->errors = -ENXIO;
if (rq->end_io)
rq->end_io(rq, rq->errors);