author: Ming Lei <ming.lei@redhat.com> 2020-12-27 19:34:58 +0800
committer: Jens Axboe <axboe@kernel.dk> 2021-01-24 21:25:17 -0700
commit: 2569063c7140c65a0d0ad075e95ddfbcda9ba3c0
parent: 97784481757fba7570121a70dd37ca74a29f50a8
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/block/blk-mq.h b/block/blk-mq.h
index c1458d9502f1..3616453ca28c 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -304,7 +304,7 @@ static inline bool hctx_may_queue(struct blk_mq_hw_ctx *hctx,
struct request_queue *q = hctx->queue;
struct blk_mq_tag_set *set = q->tag_set;
- if (!test_bit(BLK_MQ_S_TAG_ACTIVE, &q->queue_flags))
+ if (!test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags))
return true;
users = atomic_read(&set->active_queues_shared_sbitmap);
} else {