Commit 03954d40 authored by Zhang Wensheng's avatar Zhang Wensheng Committed by Yang Yingliang
Browse files

blk-mq: fix abnormal free in single queue process

hulk inclusion
category: bugfix
bugzilla: 185922, https://gitee.com/openeuler/kernel/issues/I4NDPF


CVE: NA

--------------------------------

fix the problem introduced by commit 80086651 ("blk: Fix
lock inversion between ioc lock and bfqd lock"), which lead to
blk_queue_bio using blk_mq_free_request to free abnormally.

fix the problem using __blk_put_request to replace it.

Fixes: 80086651 ("blk: Fix lock inversion between ioc lock and bfqd lock")
Signed-off-by: default avatarZhang Wensheng <zhangwensheng5@huawei.com>
Reviewed-by: default avatarLaibin Qiu <qiulaibin@huawei.com>
Reviewed-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent aaea70a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment