Skip to content
Commit f899fed4 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: fix regression from commit 624dbe47

When the code was collapsed to avoid duplication, the recent patch
for ensuring that a queue is idled before free was dropped, which was
added by commit 19c5d84f

.

Add back the blk_mq_tag_idle(), to ensure we don't leak a reference
to an active queue when it is freed.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent ff87bcec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment