X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=block%2Fblk-mq.h;h=3616453ca28c8f3be4763b30ccc3acf7f700d127;hb=6c635caef410aa757befbd8857c1eadde5cc22ed;hp=c1458d9502f1c6566cfa22d4acd268f87457e08f;hpb=2f2fce3d535779cb1b0d77ce839029d5d875d4f4;p=linux-2.6-microblaze.git 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 {