Commit e539db97 authored by Li Nan's avatar Li Nan
Browse files

block: fix order error in blk_release_queue

hulk inclusion
category: bugfix, https://gitee.com/openeuler/kernel/issues/I64SY5


bugzilla: 188093
CVE: NA

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

blk_stat_free_callback() will check stats->callbacks, and wbt's callback
is freed in wbt_exit(), which is called by rq_qos_exit(). So move it in
front of blk_stat_free_callback().

Fixes: 015466fc61f4 ("block: fix null-pointer dereference in ioc_pd_init")
Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parent 2b9719ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment