git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blk-mq: use helper function to test hw stopped
[sfrench/cifs-2.6.git]
/
block
/
blk-mq.c
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index c5fefd39d0c04677643cc64847f47fab07f5c494..e11ee801ba1913316475bf5e0a322fc56056a80f 100644
(file)
--- a/
block/blk-mq.c
+++ b/
block/blk-mq.c
@@
-1807,7
+1807,7
@@
static void blk_mq_run_work_fn(struct work_struct *work)
/*
* If we are stopped, don't run the queue.
*/
- if (
test_bit(BLK_MQ_S_STOPPED, &hctx->state
))
+ if (
blk_mq_hctx_stopped(hctx
))
return;
__blk_mq_run_hw_queue(hctx);