diff options
| author | Ming Lei <[email protected]> | 2020-12-27 11:34:58 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-01-25 04:25:17 +0000 |
| commit | 2569063c7140c65a0d0ad075e95ddfbcda9ba3c0 (patch) | |
| tree | bf59e3c6196c0e4fcfa71ba7bed6368701620e2d /drivers/usb/cdns3/cdns3-imx.c | |
| parent | lightnvm: fix memory leak when submit fails (diff) | |
| download | kernel-2569063c7140c65a0d0ad075e95ddfbcda9ba3c0.tar.gz kernel-2569063c7140c65a0d0ad075e95ddfbcda9ba3c0.zip | |
blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
In case of blk_mq_is_sbitmap_shared(), we should test QUEUE_FLAG_HCTX_ACTIVE against
q->queue_flags instead of BLK_MQ_S_TAG_ACTIVE.
So fix it.
Cc: John Garry <[email protected]>
Cc: Kashyap Desai <[email protected]>
Fixes: f1b49fdc1c64 ("blk-mq: Record active_queues_shared_sbitmap per tag_set for when using shared sbitmap")
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
