]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
blk-mq: use helper function to test hw stopped
authorYufen Yu <yuyufen@huawei.com>
Fri, 9 Oct 2020 03:26:30 +0000 (23:26 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Oct 2020 18:34:06 +0000 (12:34 -0600)
commit0841031ab9a8fb2551880c24a8419997b8e834bc
tree115803c9cd3f810bedbfc2e18642dbdf31d8924e
parent75e6c00fc75c53577bfc4831d909162c56e799ce
blk-mq: use helper function to test hw stopped

We have introduced helper function blk_mq_hctx_stopped() to test
BLK_MQ_S_STOPPED.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c