commit | 75e6c00fc75c53577bfc4831d909162c56e799ce | [log] [tgz] |
---|---|---|
author | Yufen Yu <yuyufen@huawei.com> | Thu Oct 08 23:26:29 2020 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 09 12:34:06 2020 -0600 |
tree | 8d7c38d1f9f20263e25bba2ce923fe8f675b4a2d | |
parent | 6251b754f5b29d44d088cc73f508d15ddfb8d978 [diff] |
block: use helper function to test queue register We have defined common interface blk_queue_registered() to test QUEUE_FLAG_REGISTERED. Just use it. Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>