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
pandora: defconfig: update
[pandora-kernel.git]
/
block
/
blk-throttle.c
diff --git
a/block/blk-throttle.c
b/block/blk-throttle.c
index
4553245
..
5eed6a7
100644
(file)
--- a/
block/blk-throttle.c
+++ b/
block/blk-throttle.c
@@
-310,7
+310,7
@@
static struct throtl_grp * throtl_get_tg(struct throtl_data *td)
struct request_queue *q = td->queue;
/* no throttling for dead queue */
struct request_queue *q = td->queue;
/* no throttling for dead queue */
- if (unlikely(
test_bit(QUEUE_FLAG_DEAD, &q->queue_flags
)))
+ if (unlikely(
blk_queue_dead(q
)))
return NULL;
rcu_read_lock();
return NULL;
rcu_read_lock();
@@
-335,7
+335,7
@@
static struct throtl_grp * throtl_get_tg(struct throtl_data *td)
spin_lock_irq(q->queue_lock);
/* Make sure @q is still alive */
spin_lock_irq(q->queue_lock);
/* Make sure @q is still alive */
- if (unlikely(
test_bit(QUEUE_FLAG_DEAD, &q->queue_flags
))) {
+ if (unlikely(
blk_queue_dead(q
))) {
kfree(tg);
return NULL;
}
kfree(tg);
return NULL;
}