projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBUNTU: Ubuntu-2.6.38-12.51
[linux-flexiantxendom0-natty.git]
/
block
/
blk.h
diff --git
a/block/blk.h
b/block/blk.h
index
2db8f32
..
e03adf8
100644
(file)
--- a/
block/blk.h
+++ b/
block/blk.h
@@
-68,7
+68,8
@@
static inline struct request *__elv_next_request(struct request_queue *q)
return rq;
}
- if (!q->elevator->ops->elevator_dispatch_fn(q, 0))
+ if (test_bit(QUEUE_FLAG_DEAD, &q->queue_flags) ||
+ !q->elevator->ops->elevator_dispatch_fn(q, 0))
return NULL;
}
}